nestjs_backend/.env
2022-08-19 16:08:36 +09:00

16 lines
667 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"
CORS_ALLOW_LIST = ['http://localhost:8080']
JWT_SECURITY_KEY = "security_key"
JWT_EXPIRE_MAX = "600s"
AUTH_USERNAME_FIELD="email"
DEFAULT_TABLE_PER_PAGE = 20
DEFAULT_TABLE_PAGE = 0