This project is for coding test to create an API for authentication and authorization using Express.
Initialize environment variables for the project.
cp .env.example .env
(Optional) when using docker, remember initialize the environment variables with the following command:
cp .docker.env.example .docker.dev.env
yarn install
Run the project in development mode with the following command:
yarn dev
OR using docker:
docker-compose --env-file .docker.dev.env -f docker-compose.dev.yml up
Run test using the following command:
yarn test --coverage
API Documentation can be accessed through swagger doc on: http://localhost:3000/swagger