This microservice enables users to submit new jokes. They can categorize their submission from an up-to-date list of joke types.
- Nest.js or Node.js (Express.js)
- MongoDB Atlas
- Docker
- Swagger
- Node.js
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/ratheshan03/deliver-jokes-microservices.git cd deliver-jokes-microservices
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
MONGO_URI=mongodb+srv:// PORT=3001 MONGO_URI_USERNAME= MONGO_URI_PASSWORD=
Access the Swagger UI to explore the API documentation: URL: http://localhost:3002/api
Nest is MIT licensed.