- Make sure you have docker container runtime installed.
- Create a .env file following .env.example and populate the variables.
- Run the containers for development using
docker compose -f compose.dev.yml up -d
. - Run
make migrate
to import the schema defined at tools/schema.surql. - Run the respective cron jobs using
make cron task={{file_name}}
- The server will start on
http://localhost:3000
using air in a docker container for development with hot reload.
- Download and setup the Bruno API client.
- The collection is stored in the api folder.
- Choose the Local environment and setup your creds for testing.
- Explore the API (PS: you can view the docs of individual requests in bruno).
- Modify the .env.testing file
- Run
make test