Skip to content

Installation

Lilith Caldwell edited this page May 12, 2024 · 2 revisions

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-nextjs.git
  2. Navigate to Project Directory

    cd nsc-events-nextjs
  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 dev

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

Clone this wiki locally