Installation - SeattleColleges/nsc-events-nestjs GitHub Wiki

Installation

Follow these steps to set up the project on your local machine:

Prerequisites

  • Node.js (v18.x or higher)
  • npm (v8.x or higher)
  • MongoDB (v7.x or higher)

Steps

  1. Clone the Repository

    git clone https://github.com/SeattleColleges/nsc-events-nestjs.git
    
  2. Navigate to Project Directory

    cd nsc-events-nestjs
    
  3. Install Dependencies

    npm install
    
  4. Environment Variables

    • Copy .env.sample to .env
    • Update the variables in .env as per your local setup
  5. Database Setup

    • Start your MongoDB instance
    • Update MONGODB_URI in .env
    • Update JWT_SECRET in .env
    • Update JWT_EXPIRES in .env
  6. Run the Application

    npm run start:dev
    

Your application should now be running at http://localhost:3000.