/typescript-express-mongodb-multilingual-boilerplate

TypeScript Express.js MongoDB Multi Language Boilerplate

Primary LanguageTypeScript

TypeScript Multilingual Backend

This project is a starter kit or boilerplate for every backend project. The architecture is based on best practices and has been used in some real projects in production mode. You can read the codes and get ideas, as well as fork and use it for your projects. If you found it useful don't forget to give a star and share it for your friends.

Install

  • Clone the project
  • Run "npm i" or "yarn"
  • Make a copy .env.sample and name it .env
  • Put a MongoDB URI into .env file
  • Create key pair files by this command: "ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key" in the root directory. (Don't set passphrase)
  • Run "npm start" or "yarn start"