/Api-tutoring-students-with-express-and-mongodb

API developed for student tutoring back end with express and mongodb

Primary LanguageTypeScript

Api-tutoring-students-with-express

  • Initial Comand

  • npm i typescript -g

  • npm i ts-node -g

  • tsc --init

  • npm i express cors dotenv multer mongoose

  • npm i @types/express @types/cors @types/dotenv @types/multer @types/mongoose -D

  • Create a file called ".env":

    • DB_URI: database
    • PORT: port
    • JWT_SECRET: key json web token