From 9a895504bbd2f492e7c3c48b810b835a91f14e84 Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:36:15 +0300 Subject: [PATCH 1/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-MongoDB-Mongoose-NoAuth-Template/.env | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth-Template/.env b/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth-Template/.env index 9061bc99..424129fe 100644 --- a/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth-Template/.env @@ -3,17 +3,28 @@ # 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= # Specify the name of the database to which the application will connect. # If not specified, the default database 'yonodeDB' will be used. # Default: yonodeDB - DATABASE_NAME= + +# 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= \ No newline at end of file From 67a8386bc4b6cc2870b3a55113d97632bc51867c Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:36:37 +0300 Subject: [PATCH 2/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-MongoDB-TypeORM-NoAuth-Template/.env | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/yonode-templates/JS-MongoDB-TypeORM-NoAuth-Template/.env b/packages/yonode-templates/JS-MongoDB-TypeORM-NoAuth-Template/.env index 9061bc99..424129fe 100644 --- a/packages/yonode-templates/JS-MongoDB-TypeORM-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-MongoDB-TypeORM-NoAuth-Template/.env @@ -3,17 +3,28 @@ # 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= # Specify the name of the database to which the application will connect. # If not specified, the default database 'yonodeDB' will be used. # Default: yonodeDB - DATABASE_NAME= + +# 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= \ No newline at end of file From 5a8ae8dd37a2a3c50e5ff4e14e785acfa3464f7e Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:37:16 +0300 Subject: [PATCH 3/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-MySQL-Sequelize-NoAuth-Template/.env | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/yonode-templates/JS-MySQL-Sequelize-NoAuth-Template/.env b/packages/yonode-templates/JS-MySQL-Sequelize-NoAuth-Template/.env index 9061bc99..424129fe 100644 --- a/packages/yonode-templates/JS-MySQL-Sequelize-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-MySQL-Sequelize-NoAuth-Template/.env @@ -3,17 +3,28 @@ # 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= # Specify the name of the database to which the application will connect. # If not specified, the default database 'yonodeDB' will be used. # Default: yonodeDB - DATABASE_NAME= + +# 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= \ No newline at end of file From 24a5dc685f1c216068327144bb09b47738475ee3 Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:37:28 +0300 Subject: [PATCH 4/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-MySQL-TypeORM-NoAuth-Template/.env | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/yonode-templates/JS-MySQL-TypeORM-NoAuth-Template/.env b/packages/yonode-templates/JS-MySQL-TypeORM-NoAuth-Template/.env index 9061bc99..424129fe 100644 --- a/packages/yonode-templates/JS-MySQL-TypeORM-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-MySQL-TypeORM-NoAuth-Template/.env @@ -3,17 +3,28 @@ # 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= # Specify the name of the database to which the application will connect. # If not specified, the default database 'yonodeDB' will be used. # Default: yonodeDB - DATABASE_NAME= + +# 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= \ No newline at end of file From 1d87b9bfdb965611cea6c6f771b12b5e984229cc Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:37:47 +0300 Subject: [PATCH 5/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../.env | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/yonode-templates/JS-PostgreSQL-Sequelize-NoAuth-Template/.env b/packages/yonode-templates/JS-PostgreSQL-Sequelize-NoAuth-Template/.env index 9061bc99..424129fe 100644 --- a/packages/yonode-templates/JS-PostgreSQL-Sequelize-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-PostgreSQL-Sequelize-NoAuth-Template/.env @@ -3,17 +3,28 @@ # 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= # Specify the name of the database to which the application will connect. # If not specified, the default database 'yonodeDB' will be used. # Default: yonodeDB - DATABASE_NAME= + +# 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= \ No newline at end of file From b2d323b0226b59bfadda16dcf756dfda645cdede Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:38:00 +0300 Subject: [PATCH 6/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-PostgreSQL-TypeORM-NoAuth-Template/.env | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/yonode-templates/JS-PostgreSQL-TypeORM-NoAuth-Template/.env b/packages/yonode-templates/JS-PostgreSQL-TypeORM-NoAuth-Template/.env index 9061bc99..424129fe 100644 --- a/packages/yonode-templates/JS-PostgreSQL-TypeORM-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-PostgreSQL-TypeORM-NoAuth-Template/.env @@ -3,17 +3,28 @@ # 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= # Specify the name of the database to which the application will connect. # If not specified, the default database 'yonodeDB' will be used. # Default: yonodeDB - DATABASE_NAME= + +# 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= \ No newline at end of file From 99d3e3f98ec63a8dcdc3064268c7a90db977d452 Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:40:36 +0300 Subject: [PATCH 7/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-MongoDB-Prisma-NoAuth-Template/.env | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/yonode-templates/JS-MongoDB-Prisma-NoAuth-Template/.env b/packages/yonode-templates/JS-MongoDB-Prisma-NoAuth-Template/.env index b8ee1ec6..51b37125 100644 --- a/packages/yonode-templates/JS-MongoDB-Prisma-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-MongoDB-Prisma-NoAuth-Template/.env @@ -3,12 +3,24 @@ # 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, host, port, and database name as applicable. # Format: protocol://username:password@host:port/databaseName - 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= From 8c19d81d46ba8f83592ebaaa83689c6de9339f81 Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:41:40 +0300 Subject: [PATCH 8/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-MySQL-Prisma-NoAuth-Template/.env | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/packages/yonode-templates/JS-MySQL-Prisma-NoAuth-Template/.env b/packages/yonode-templates/JS-MySQL-Prisma-NoAuth-Template/.env index 19db6391..51b37125 100644 --- a/packages/yonode-templates/JS-MySQL-Prisma-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-MySQL-Prisma-NoAuth-Template/.env @@ -3,12 +3,24 @@ # 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='mysql://avnadmin:AVNS_JMf65DnxvV_yTnjBrdh@just-engomarjust-2c6b.a.aivencloud.com:22617/defaultdb?ssl-mode=REQUIRED' +SERVER_PORT= # Database Configuration # ---------------------- # Provide the URL for connecting to the database, This should include the protocol, username, password, host, port, and database name as applicable. # Format: protocol://username:password@host:port/databaseName - 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= From ba1cc7e7c79d6145cd966aa845d86c6337261138 Mon Sep 17 00:00:00 2001 From: Mr Sharafdin Date: Sat, 2 Mar 2024 13:42:13 +0300 Subject: [PATCH 9/9] added JWT_SECRET_KET & NODE_ENVIROMENT in .env file --- .../JS-PostgreSQL-Prisma-NoAuth-Template/.env | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/yonode-templates/JS-PostgreSQL-Prisma-NoAuth-Template/.env b/packages/yonode-templates/JS-PostgreSQL-Prisma-NoAuth-Template/.env index b8ee1ec6..51b37125 100644 --- a/packages/yonode-templates/JS-PostgreSQL-Prisma-NoAuth-Template/.env +++ b/packages/yonode-templates/JS-PostgreSQL-Prisma-NoAuth-Template/.env @@ -3,12 +3,24 @@ # 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, host, port, and database name as applicable. # Format: protocol://username:password@host:port/databaseName - 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=