Skip to content

hanhpp/nodo-demo

Repository files navigation

nodo-demo

demo backend in go for nodo.xyz

How to run :

  • Make sure to fill in .env file with the correct values
  • Installed Go
  • Installed Make
  • Installed Docker & Docker Compose

To download dependencies :

make get

To regenerate swagger docs :

make docs

swagger docs sit at url :

http://localhost:8080/docs/index.html

Image : img

To run docker :

First start the database in docker by calling : make docker

Then run the migration file by calling :

make migrate

The database will be seeded with the data in stock.sql file

To run the api :

make run

To run tests :

make test

Result : img

About

demo backend in go for nodo.xyz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published