-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
838056b
commit b59a54c
Showing
9 changed files
with
61 additions
and
53 deletions.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
REACT_APP_SERVER_BASE_URL=http://localhost:3000 | ||
|
||
# ———————— Optional ———————— | ||
REACT_APP_SERVER_AUTH_URL= # http://localhost:3000/auth | ||
REACT_APP_SERVER_FILES_URL= # http://localhost:3000/files | ||
CHROMATIC_PROJECT_TOKEN= # Get it from https://www.chromatic.com | ||
# REACT_APP_SERVER_AUTH_URL=http://localhost:3000/auth | ||
# REACT_APP_SERVER_FILES_URL=http://localhost:3000/files | ||
# CHROMATIC_PROJECT_TOKEN= |
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
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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
PG_DATABASE_URL=postgres://postgres:postgrespassword@localhost:5432/default?connection_limit=1 | ||
FRONT_BASE_URL=http://localhost:3001 # the URL of the front-end app | ||
ACCESS_TOKEN_SECRET=secret_jwt # a random key used to sign the JWT tokens | ||
LOGIN_TOKEN_SECRET=secret_login_token # another random key used to sign the JWT tokens | ||
REFRESH_TOKEN_SECRET=secret_refresh_token # another random key used to sign the JWT tokens | ||
|
||
# the URL of the front-end app | ||
FRONT_BASE_URL=http://localhost:3001 | ||
# random keys used to generate JWT tokens | ||
ACCESS_TOKEN_SECRET=secret_jwt | ||
LOGIN_TOKEN_SECRET=secret_login_tokens | ||
REFRESH_TOKEN_SECRET=secret_refresh_token | ||
|
||
# ———————— Optional ———————— | ||
DEBUG_MODE= # false | ||
DEMO_MODE= # false | ||
ACCESS_TOKEN_EXPIRES_IN= # 30m | ||
LOGIN_TOKEN_EXPIRES_IN= # 15m | ||
REFRESH_TOKEN_EXPIRES_IN= # 90d | ||
FRONT_AUTH_CALLBACK_URL= # http://localhost:3001/verify | ||
AUTH_GOOGLE_ENABLED= # false | ||
STORAGE_TYPE= # local | ||
STORAGE_LOCAL_PATH= # .local-storage | ||
|
||
# DEBUG_MODE=false | ||
# DEMO_MODE=false | ||
# ACCESS_TOKEN_EXPIRES_IN=30m | ||
# LOGIN_TOKEN_EXPIRES_IN=15m | ||
# REFRESH_TOKEN_EXPIRES_IN=90d | ||
# FRONT_AUTH_CALLBACK_URL=http://localhost:3001/verify | ||
# AUTH_GOOGLE_ENABLED=false | ||
# STORAGE_TYPE=local | ||
# STORAGE_LOCAL_PATH=.local-storage | ||
# IS_CORS_ENABLED=true |
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 |
---|---|---|
@@ -1,28 +1,21 @@ | ||
DEBUG_MODE=true | ||
PG_DATABASE_URL=postgres://postgres:postgrespassword@localhost:5432/test?connection_limit=1 | ||
FRONT_BASE_URL=http://localhost:3001 # the URL of the front-end app | ||
ACCESS_TOKEN_SECRET=secret_jwt # a random key used to sign the JWT tokens | ||
LOGIN_TOKEN_SECRET=secret_login_token # another random key used to sign the JWT tokens | ||
REFRESH_TOKEN_SECRET=secret_refresh_token # another random key used to sign the JWT tokens | ||
# the URL of the front-end app | ||
FRONT_BASE_URL=http://localhost:3001 | ||
# random keys used to generate JWT tokens | ||
ACCESS_TOKEN_SECRET=secret_jwt | ||
LOGIN_TOKEN_SECRET=secret_login_tokens | ||
REFRESH_TOKEN_SECRET=secret_refresh_token | ||
|
||
|
||
# ———————— Optional ———————— | ||
# default: false | ||
DEBUG_MODE= | ||
# default: false | ||
DEMO_MODE= | ||
# default: 30m | ||
ACCESS_TOKEN_EXPIRES_IN= | ||
# default: 15m | ||
LOGIN_TOKEN_EXPIRES_IN= | ||
# default: 90d | ||
REFRESH_TOKEN_EXPIRES_IN= | ||
# default: http://localhost:3001/verify | ||
FRONT_AUTH_CALLBACK_URL= | ||
# default: false | ||
AUTH_GOOGLE_ENABLED= | ||
# default: local | ||
STORAGE_TYPE= | ||
# default: .local-storage | ||
STORAGE_LOCAL_PATH= | ||
|
||
# DEBUG_MODE=false | ||
# DEMO_MODE=false | ||
# ACCESS_TOKEN_EXPIRES_IN=30m | ||
# LOGIN_TOKEN_EXPIRES_IN=15m | ||
# REFRESH_TOKEN_EXPIRES_IN=90d | ||
# FRONT_AUTH_CALLBACK_URL=http://localhost:3001/verify | ||
# AUTH_GOOGLE_ENABLED=false | ||
# STORAGE_TYPE=local | ||
# STORAGE_LOCAL_PATH=.local-storage | ||
# IS_CORS_ENABLED=true |
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
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
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
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
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