Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 774 Bytes

README.md

File metadata and controls

47 lines (27 loc) · 774 Bytes

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