access each sub folder in
algs
directory and run main function to test code. replace code in main to test with your testcases.
to run this project, please follow this steps:
- install docker and docker-compose
- run
docker-compose --env-file ./.env up
in root directory
note: please check .env
file to change port and database config to your own
to run test, please follow this steps:
- Access
http://127.0.0.1:{port}/swagger/index.html
to see documentation and test api (see swagger UI tool for more information) - For endpoints that require authentication, please add
Authorization:Bearer {token}
in header (using swagger UI tool or manually)