20 lines
811 B
Bash
20 lines
811 B
Bash
# Environment variables declared in this file are automatically made available to Prisma.
|
|
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
|
|
|
|
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
|
|
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
|
|
|
|
DATABASE_URL="mysql://root:@localhost:3306/test_user"
|
|
CORS_ALLOW_ORIGINS = ['http://localhost:8080']
|
|
CORS_ALLOW_METHOD = "GET,PUT,POST,DELETE,PATCH,OPTIONS"
|
|
|
|
AUTH_USERNAME_FIELD="email"
|
|
|
|
JWT_CONSTANTS_SECRET = "security_key"
|
|
JWT_CONSTANTS_EXPIRESIN ="60s"
|
|
|
|
JWT_REFRESH_TOKEN_EXPIREIN = "14d"
|
|
JWT_ACCESS_TOKEN_EXPIREIN = "60s"
|
|
|
|
DEFAULT_TABLE_PERPAGE = 10
|
|
DEFAULT_TABLE_PAGE = 1 |