Skip to content

shiled-bot/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shield Bot Dashboard

Discord bot web dashboard with MERN stack

Create .env file

store your MongoDB database credentials

DB_URI = mongodb+srv://<username>:<password>@cluster0.6m5cz.mongodb.net/mybotname

json web token secret

JWT_SECRET = my-32-character-ultra-secure-and-ultra-long-secret
CLIENT_ORIGIN =
BOT_ID = 
BOT_SECRET = 
BOT_TOKEN =

CLIENT_ORIGIN: client origin url

BOT_ID: your discord app client id

BOT_SECRET: your discord app client secret

preview

BOT_TOKEN: the access token for your discord bot

Install modules

npm install
npm install --dev
cd ./client && npm install
cd ./client && npm install --dev

Run app

npm run dev