-
Create
.env.localfile 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 installornpm install(pnpmis the recommended package manager here, if you do not havepnpminstalled please try to install it, it is way better thannpm) -
Run
pnpm dev -
Go to
localhost:3000and see!