docker build --no-cache -t example-api .
Start all your containers:
docker-compose --env-file ./configs/example.env up -d
Install dependencies:
npm i
Start your api:
npm run dev
Service | URL | USAGE |
---|---|---|
API | http://localhost:8080 | Express server |
API documentation | http://localhost:8080/docs | Swagger documentation to directly use API call |
Mongo express client | http://localhost:8081 | Mongo express client |
If you want to know username/password for Mongo client, check configs/example.env
file.