-
Create
.env.local
file in the root directory -
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
-
In the root directory, run
pnpm install
ornpm install
(pnpm
is the recommended package manager here, if you do not havepnpm
installed please try to install it, it is way better thannpm
) -
Run
pnpm dev
-
Go to
localhost:3000
and see!
ddx-510/cs3219-project-ay2223s1-g41
cs3219-project-ay2223s1-g41 created by GitHub Classroom
TypeScript