Skip to content

Sabbir2809/express-mongodb-mvc-starter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

Overview

Features

Technology Stack

  • Programming Language: TypeScript
  • Backend Framework: Express.js
  • Database: MongoDB (with Mongoose)
  • Authentication: JWT (JSON Web Token)
  • Password Hashing: bcrypt
  • Input Validation: Zod
  • Security: Rate Limit, Helmet, Cors

Project Setup Instructions

  1. Clone the repository:

    git clone https://github.com/Sabbir2809/express-mongoose-mvc-starter-template
    cd express-mongoose-mvc-starter-template
  2. Install dependencies:

    yarn install
  3. Setup environment variables in .env.

     NODE_ENVIRONMENT=development
    
     PORT=
     DATABASE_URL=
     CORS_ORIGIN=
    
     # password
     BCRYPT_SALT_ROUNDS=
    
     # JWT
    JWT_ACCESS_SECRET_KEY=
    JWT_REFRESH_SECRET_KEY=
    
     # Cloudinary configuration
     CLOUDINARY_CLOUD_NAME=
     CLOUDINARY_API_KEY=
     CLOUDINARY_API_SECRET=
    
     # ImageKit configuration
     IMAGEKIT_PUBLIC_KEY=
     IMAGEKIT_PRIVATE_KEY=
     IMAGEKIT_PUBLIC_URL_ENDPOINT_KEY=
  4. Run the development server:

    yarn dev
  5. Open http://localhost:5000 in your browser.

Releases

No releases published

Packages

No packages published