Aroundhome code challenge is a REST API server which proposes the right partner based on the details of a customer's flooring project.
- Echo
- Gorm
- Postgis
- swaggo/swag (for API specs)
First build docker image with docker-compose
command
docker-compose build
then fire up docker containers using following command
docker-compose up -d
Above commands will run a http server on port 3000. http://localhost:3000 which will redirect to swagger API specs page.
Use following command for unit tests.
make test-unit