Skip to content

Sabbir2809/express-mongodb-mvc-starter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

Overview

Features

Technology Stack

  • Programming Language: TypeScript
  • Framework: Express.js
  • Database: MongoDB (Mongoose ODM)
  • Authentication: JWT (JSON Web Tokens)
  • Password Hashing: bcrypt
  • Validation: Zod
  • Security: Helmet, CORS, Rate Limiting
  • File Uploads: Multer + Cloudinary
  • Email Service: Nodemailer

Project Setup Instructions

  1. Clone the repository:

    git clone https://github.com/Sabbir2809/express-mongoose-mvc-starter-template.git
    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=
    
    # SMTP
    SMTP_USER=
    SMTP_PASSWORD=
    
    # 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.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors