-
Clone This repo
-
Once in the dir, run
npm i
in:- base
backend
frontend
-
install
firebase cli
andnetlify cli
- make a firebase project
- clone
.firebaserc example
and rename it to.firebaserc
. Then replaceYour project name
here with your projects name
- make a discord application
- duplicate
.env example
and rename it to.env
- fill in
DISCORD_CLIENT_ID
with your discord app's client id - do the same with
DISCORD_SECRET
- go to OAuth2 > General
- add a new redicet with the value
http://localhost:9000/.netlify/functions/api/user/auth
- then go to URL genorator and select
identity
and your rediret url - then put this into your .env file
- download mongodb
- to run, run the command
npm run dev
in the base dir - to run only backend, run
npm run dev-be
- to run only frontend, run
npm run dev-fe