{"repo":"piyush-kacha/nestjs-starter-kit","free":true,"listed":false,"github":"https://github.com/piyush-kacha/nestjs-starter-kit","clone":"git clone https://github.com/piyush-kacha/nestjs-starter-kit.git","description":"Nest.js with MongoDB, Express, Clustering, Swagger, Pino, Exception handling","language":"TypeScript","stars":54,"topics":["expressjs","mongodb","nestjs","pino","swagger","typescript","clustering","eslint","nestjs-boilerplate","nestjs-mongoose"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"NestJS Starter Kit This is a starter kit for building a Nest.js application with MongoDB, Express, Clustering, Swagger, Pino, and Exception handling. Getting Started To get started with this project, clone the repository and install the dependencies: Use the copy command to create a copy of the example .env file. Replace example.env with the name of your example .env file: Generating an RSA Key Pair for JWT Authentication with OpenSSL 1. Generate a private key: 2. Extract the public key from the private key: This will create two files in the current directory: private key.pem (the private key) and public key.pem (the corresponding public key). Note: The key size (2048 bits in this example) can be adjusted to suit your security requirements. 3. Encode the public key in base64 encoding: Copy the contents of the public key base64.txt file and paste it into the public key base64.txt file in .env JWT PUBLIC KEY variable. 4. Encode the private key in base64 encoding: Copy the contents of the private key base64.txt file and paste it into the private key base64.txt file in .env JWT PRIVATE KEY variable. 5. Remove the public key.pem and private key.pem files. 6. Remove the public key base64.txt and private key base64.txt files. Running the Application To run the application in development mode, use the following command: This will start the application in watch mode, so any changes you make to the code will automatically restart the server. To run the application in production mode, u","default_branch":null,"files":null,"tree":[],"storefront":"/r/piyush-kacha","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/piyush-kacha/nestjs-starter-kit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}