Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

added .env file #73

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions packages/yonode-templates/JS-MongoDB-Mongoose-NoAuth/.env
Original file line number Diff line number Diff line change
@@ -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=<PortNumber> # 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=<DatabaseConnectionURL>

# Specify the name of the database to which the application will connect.
# If not specified, the default database 'yonodeDB' will be used.
DATABASE_NAME=<DatabaseName> # Default: yonodeDB

# Please replace the placeholders (<PortNumber>, <DatabaseConnectionURL>, and <DatabaseName>) with your specific configuration values.
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/node_modules
.env