-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V 0.6.0 feat: Varias implementaciones, mejoras, arreglos y automatiza…
…ciones, mas informacion y detalles en el changelog 0.6.0
- Loading branch information
Showing
32 changed files
with
2,651 additions
and
629 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,15 +1,31 @@ | ||
# Conectar a postgres | ||
CONNECTPOSTGRES= | ||
DATABASEUSER= | ||
DATABASEPASS= | ||
DATABASEHOST= | ||
DATABASEPORT= | ||
DATABASENAME= | ||
# Conectar a supabase | ||
SUPABASE_URL= | ||
SUPABASE_ANON_KEY= | ||
SERVICE_ROLE_KEY= | ||
# Configuracion de ejecucion de la app | ||
PORT= | ||
HOST= | ||
# Configuracion de JWT | ||
JWT_SECRET= | ||
CONNECTPOSTGRES= | ||
# Entorno de ejecucion prod o dev | ||
NODE_ENV= | ||
URLHOST= | ||
# Configuracion de cors | ||
CORS_ORIGIN= | ||
# Configuracion de monitoreo de errores | ||
SENTRY_DSN= | ||
SUPABASE_URL= | ||
SUPABASE_ANON_KEY= | ||
# Conectar a redis upstash | ||
CONNECTREDIS= | ||
UPSTASH_REDIS_URL= | ||
UPSTASH_REDIS_TOKEN= | ||
# Configuracion de limite de peticiones | ||
INTERNAL_IPS= | ||
RATE_LIMIT_WINDOW_MS= | ||
RATE_LIMIT_MAX_REQUESTS= |
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
const { | ||
// ** POSTGRES ** | ||
CONNECTPOSTGRES: connectPostgres = 'True', | ||
DATABASEUSER: databaseUser = '', | ||
DATABASEPASS: databasePassword = '', | ||
DATABASEHOST: databaseHost = '', | ||
DATABASEPORT: databasePort = '', | ||
DATABASENAME: databaseName ='', | ||
// ** SUPABASE ** | ||
SUPABASE_URL: supabaseUrl = '', | ||
SUPABASE_ANON_KEY: supabaseAnonKey = '', | ||
SERVICE_ROLE_KEY: supabaseServiceRoleKey = '', | ||
// ** HOST & PORT ** | ||
HOST: host = 'localhost', | ||
PORT: port = '3000', | ||
// ** JWT ** | ||
JWT_SECRET: JwtSecret = '', | ||
// ** ENVIRONMENT & HOST WEB** | ||
NODE_ENV: nodeEnv = 'development', | ||
URLHOST: urlHost = 'simpsons-trivia.fly.dev', | ||
// ** CORS ** | ||
CORS_ORIGIN: corsOrigin = '*', | ||
// ** SENTRY ** | ||
SENTRY_DSN: sentryDsn = '', | ||
// ** REDIS ** | ||
CONNECT_REDIS: connectRedis = 'True', | ||
UPSTASH_REDIS_URL: upstashRedisUrl = '', | ||
UPSTASH_REDIS_TOKEN: upstashRedisToken = '', | ||
// ** Desarrollo ** | ||
INTERNAL_IPS: internalIps = '', | ||
RATE_LIMIT_WINDOW_MS: rateLimitWindowMs = '900000', | ||
RATE_LIMIT_MAX_REQUESTS: rateLimitMaxRequests = '10000' | ||
|
||
} = process.env; | ||
|
||
module.exports = { | ||
connectPostgres, | ||
databaseUser, | ||
databasePassword, | ||
databaseHost, | ||
databasePort, | ||
databaseName, | ||
supabaseUrl, | ||
supabaseAnonKey, | ||
supabaseServiceRoleKey, | ||
host, | ||
port, | ||
JwtSecret, | ||
nodeEnv, | ||
urlHost, | ||
corsOrigin, | ||
sentryDsn, | ||
connectRedis, | ||
upstashRedisUrl, | ||
upstashRedisToken, | ||
internalIps, | ||
rateLimitWindowMs, | ||
rateLimitMaxRequests | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.