-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from devsargam/chore/env
Adds `.env.example`
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DATABASE_URL= # YOUR MONGODB CONNECTION URL | ||
CORS_ORIGINS= # ALLOWED ORIGINS(SEPARATED BY A COMMA) # HTTP://LOCALHOST:3000,HTTPS://EXAMPLE.COM | ||
JWT_SECRET= # YOUR JWT SECRET | ||
PORT= # WEBSERVER BACKEND PORT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# NEXT-AUTH | ||
AUTH_SECRET= # YOUR NEXT-AUTH SECRET | ||
AUTH_URL= # YOUR NEXT-AUTH URL | ||
JWT_SECRET= # YOUR NEXT-AUTH JWT SECRET | ||
|
||
# DISCORD | ||
ALLOWED_SERVERS= # ALLOWED DISCORD SERVER | ||
DISCORD_CLIENT_ID= # DISCORD CLIENT ID | ||
DISCORD_CLIENT_SECRET= # DISCORD CLIENT SECRET | ||
# ADMIN USERS | ||
ADMINS_USERS= # USERS WITH ADMIN PERMISSIONS | ||
# DATABASE URL | ||
DATABASE_URL= # YOUR MONGODB CONNECTION URL | ||
# CHAT | ||
NEXT_PUBLIC_SOCKET_IO_SERVER_URL= # SOCKETIO SERVER URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,4 +38,4 @@ next-env.d.ts | |
.env* | ||
.flaskenv* | ||
!.env.project | ||
!.env.vault | ||
!.env.vault |