- To build the binary file run
make build
- To just serve the server run
make server
- After running the server there should be an API docs server at e.g. http://localhost:8000/swagger/index.html
When the server is started, migration is automatically applied, in case you want to manually tinker with its up and down please install this first migration tool.
You can run these commands depending on what you need:
make migrate-up
for incrementally running the sql up scripts in migrations foldermake migrate-down
for incrementally running the sql down scripts in migrations folder
Only possible after running DB migration
username = "don.juan"password = "don.juan" username = "jon.doe"
password = "jon.doe"