summonerschool / SSMentorRequest

Mentor request website for the r/summonerschool discord server
https://ssmentor-request.vercel.app
0 stars 3 forks source link

Summoner School Mentor Request web application

Built with Next.js, Next-Auth, and MongodDB

Prerequisites:

Works on yarn v3.5.1 and node v16.20.1

Setup

yarn

Configuration

Set up a MongoDB database

Set up a MongoDB database either locally or with MongoDB Atlas for free.

Set up environment variables

Copy the env.local.example file in this directory to .env.local (which will be ignored by Git):

cp .env.local.example .env.local

Set each variable on .env.local:

Run Next.js in development mode


yarn
yarn dev

Your app should be up and running on http://localhost:3000!

You will either see a message stating "You are connected to MongoDB" or "You are NOT connected to MongoDB". Ensure that you have provided the correct MONGODB_URI environment variable.