From 446719f2b9570d5bf3145dd318b70c36cea2c12f Mon Sep 17 00:00:00 2001 From: Mr Sharafdin <83120892+isasharafdin@users.noreply.github.com> Date: Sun, 10 Mar 2024 20:08:57 +0300 Subject: [PATCH] Create .env --- .../JS-MySQL-Prisma-Auth-Template/.env | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 packages/yonode-templates/JS-MySQL-Prisma-Auth-Template/.env diff --git a/packages/yonode-templates/JS-MySQL-Prisma-Auth-Template/.env b/packages/yonode-templates/JS-MySQL-Prisma-Auth-Template/.env new file mode 100644 index 00000000..e052a27f --- /dev/null +++ b/packages/yonode-templates/JS-MySQL-Prisma-Auth-Template/.env @@ -0,0 +1,25 @@ +# Server Configuration +# -------------------- +# Specify the port number on which the server will listen for incoming connections. +# If not specified, the default port 8000 will be used. +# Default: 8000 +SERVER_PORT= + +# Database Configuration +# ---------------------- +# Provide the URL for connecting to the database. This should include the protocol, username, password, and host as applicable. +DATABASE_URL= + +# Authentication and Security Configuration +# ----------------------------------------- +# Define a secret key for JWT (JSON Web Token) authentication. This key is used to sign and verify JWTs for secure data transfer and access control. +# The JWT_SECRET_KEY should be a long, random string that is kept secure to ensure token integrity and prevent unauthorized access. +JWT_SECRET_KEY= + +# Application Environment +# ----------------------- +# Set the environment in which the Node.js application is running. Common values are 'development', 'production', and 'test'. +# This setting can influence the application's behavior, enabling or disabling certain features based on the environment. +# For example, in 'development' mode, more verbose logging might be enabled, whereas 'production' might focus on performance optimizations and error handling. +# Default: development (if not specified) +NODE_ENVIRONMENT=