- Docker
- Clone the repository:
git clone https://github.com/cybre/salesforge-assignment.git
- Change into the project directory:
cd salesforge-assignment
- Set up the database password:
echo "<some-password>" > db_password.txt
- Build the Docker image and run API and database via docker-compose
make run
- Access the API at the default port at
http://localhost:3000
- Import the OpenAPI v3 spec into your API testing app of choice:
swagger.yaml
- To stop the containers:
make stop
- To clean up the project (remove containers, networks, and volumes):
make clean
- To run unit tests:
make test
- To run integration tests:
make integration-test