A login API using NodeJS, ExpressJS and MongoDB.
- Rename .env.sample to .env
- Run the following command to build and run the docker containers.
docker compose up --build
The API can access through the URL http://localhost:8000/api/auth/signin
- Run the following command to build and run the docker containers for testing and development.
docker compose -f docker-compose.dev.yml up --build
In the auth container, run the following command for testing
npm test