base con autenticacion, registro, modulo encuestas
This commit is contained in:
19
apps/api/.env.example
Normal file
19
apps/api/.env.example
Normal file
@@ -0,0 +1,19 @@
|
||||
# Server Configuration
|
||||
HOST=localhost
|
||||
PORT=8000
|
||||
ALLOW_CORS_URL=http://localhost:3000
|
||||
NODE_ENV='development' #development | production
|
||||
|
||||
#Jwt Securtiy
|
||||
ACCESS_TOKEN_SECRET=bc63d848ca6e651b3b848bd96ef1ad1eb9b31afc9cad67ed5953efd023d02ffe
|
||||
ACCESS_TOKEN_EXPIRATION=2h
|
||||
REFRESH_TOKEN_SECRET=bc63d848ca6e651b3b848bd96ef1ad1eb9b31afc9cad67ed5953efd023d02ffe
|
||||
REFRESH_TOKEN_EXPIRATION=30d
|
||||
|
||||
#Database Configuration
|
||||
DATABASE_URL="postgresql://postgres:local**@localhost:5432/caja_ahorro" #url conexion a base de datos
|
||||
|
||||
#Mail Configuration
|
||||
MAIL_HOST=gmail
|
||||
MAIL_USERNAME=
|
||||
MAIL_PASSWORD=
|
||||
Reference in New Issue
Block a user