-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
Lilith Caldwell edited this page May 12, 2024
·
2 revisions
Follow these steps to set up the project on your local machine:
- Node.js (v18.x or higher)
- npm (v8.x or higher)
- MongoDB (v7.x or higher)
-
Clone the Repository
git clone https://github.com/SeattleColleges/nsc-events-nextjs.git
-
Navigate to Project Directory
cd nsc-events-nextjs
-
Install Dependencies
npm install
-
Environment Variables
- Copy
.env.sample
to.env
- Update the variables in
.env
as per your local setup
- Copy
-
Database Setup
- Start your MongoDB instance
- Update
MONGODB_URI
in.env
- Update
JWT_SECRET
in.env
- Update
JWT_EXPIRES
in.env
-
Run the Application
npm run dev
Your application should now be running at http://localhost:8080
.