diff --git a/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.env b/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.env new file mode 100644 index 00000000..155f83bd --- /dev/null +++ b/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.env @@ -0,0 +1,17 @@ +# 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. +SERVER_PORT= # Default: 8000 + +# Database Configuration +# ---------------------- +# Provide the URL for connecting to the database. This should include the protocol, username, password, and host as applicable. +# Do not include the database name here if it is intended to be specified separately. +DATABASE_URL= + +# Specify the name of the database to which the application will connect. +# If not specified, the default database 'yonodeDB' will be used. +DATABASE_NAME= # Default: yonodeDB + +# Please replace the placeholders (, , and ) with your specific configuration values. diff --git a/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.gitignore b/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.gitignore index 7af7f047..07e6e472 100644 --- a/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.gitignore +++ b/packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.gitignore @@ -1,2 +1 @@ /node_modules -.env \ No newline at end of file