Skip to content

Ratheshan03/submit-jokes-microservice

Repository files navigation

Submit Jokes Microservice (Nest.js)

This microservice enables users to submit new jokes. They can categorize their submission from an up-to-date list of joke types.

Technologies Used

  • Nest.js or Node.js (Express.js)
  • MongoDB Atlas
  • Docker
  • Swagger

Setup Instructions

Prerequisites

  • Node.js
  • Docker
  • Docker Compose

Installation

  1. Clone the repository:
    git clone https://github.com/ratheshan03/deliver-jokes-microservices.git
    cd deliver-jokes-microservices

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Env variables file example

MONGO_URI=mongodb+srv:// PORT=3001 MONGO_URI_USERNAME= MONGO_URI_PASSWORD=

Swagger API Documentation

Access the Swagger UI to explore the API documentation: URL: http://localhost:3002/api

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published