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
-
Clone the Repository
git clone https://github.com/SeattleColleges/nsc-events-nestjs.git -
Navigate to Project Directory
cd nsc-events-nestjs -
Install Dependencies
npm install -
Environment Variables
- Copy
.env.sampleto.env - Update the variables in
.envas per your local setup
- Copy
-
Database Setup
- Start your MongoDB instance
- Update
MONGODB_URIin.env - Update
JWT_SECRETin.env - Update
JWT_EXPIRESin.env
-
Run the Application
npm run start:dev
Your application should now be running at http://localhost:3000.