A music lesson booking REST API built with NestJS.
Check out the API documentation.
- Node ^13.12.0
- Yarn ^1.22.4
-
Install the project dependencies
yarn
-
Copy
.env.example
to.env
and make sure to export the variables to your environmentcp .env.example .env
-
Export the test keys
export JWT_PRIVATE_KEY=`cat test/keys/private.pem` export JWT_PUBLIC_KEY=`cat test/keys/public.pem`
-
Start the Docker services
docker-compose -f docker/docker-compose.yaml up
-
Run the database provisioning script
./test/scripts/provision-database.sh
-
Start the local development server
yarn start:dev