Skip to content

9teMare/cs3219-project-ay2223s1-g41

 
 

Repository files navigation

PeerPrep - G41

Getting Started

  1. Create .env.local file in the root directory

  2. Add the following lines:

    MONGO_URI=mongodb+srv://peerprep:peerprep@peerprep-g41.lvzxhrp.mongodb.net/?retryWrites=true&w=majority
    MONGO_DB=peerprep
    MONGO_COLLECTION=users
    MONGO_QN_EASY=question_easy
    MONGO_QN_MEDIUM=question_medium
    MONGO_QN_HARD=question_hard
    NEXTAUTH_SECRET=0jtDHssr83fgtJKroV6DGQ6uD9BXW4+FvPbehI9zUXY=
    NEXTAUTH_URL=http://localhost:3000
  3. In the root directory, run pnpm install or npm install (pnpm is the recommended package manager here, if you do not have pnpm installed please try to install it, it is way better than npm)

  4. Run pnpm dev

  5. Go to localhost:3000 and see!

About

cs3219-project-ay2223s1-g41 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.1%
  • CSS 2.8%
  • JavaScript 2.0%
  • Dockerfile 1.1%