Skip to content

summonerschool/SSMentorRequest

Repository files navigation

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:

  • MONGODB_URI - Your MongoDB connection string.
  • DISCORD_CLIENT_ID && DISCORD_CLIENT_SECRET - Needed for Next Auth API access, check Next-Auth for more details on how to setup.
  • DISCORD_BOT_TOKEN - Required for sending messages to users.

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.

About

Mentor request website for the r/summonerschool discord server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •