This is a T3 Stack project bootstrapped with create-t3-app
.
We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.
To learn more about the T3 Stack, take a look at the following resources:
- Documentation
- Learn the T3 Stack — Check out these awesome tutorials
You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!
-
download bun
-
run
bun install
from the poject root -
create a .env file in the root of the project
-
go to discord developer Portal
- sign up
- create an application
- under OAuth2 copy the client Id and put it .env as
DISCORD_CLIENT_ID
in your .env - click reset Secret and copy that id and put it in
DISCORD_CLIENT_SECRET
in your .env - set redirects to
http://localhost:3000/api/auth/callback/discord
in the discord developer portal - under OAuth2 URL Generator click bot then bot permissions click Administrator
- click the bot tab
- click reset token
- Put that token in .env as
DISCORD_BOT_TOKEN
-
install mongo
-
include the service
-
set
DATABASE_URL
in your .env to what ever you set the username and password todefault is
mongodb://localhost:27017/code_nerds
-
-
set the
NEXTAUTH_URL="http://localhost:3000"