Creating a config folder and moving the ‘env’ files

This commit is contained in:
2026-03-21 02:23:36 +01:00
parent 571276253c
commit ace057d379
8 changed files with 48 additions and 102 deletions
+34
View File
@@ -0,0 +1,34 @@
# Application Configuration
APP_ENV="development"
NODE_ENV="development"
DEBUG=false
SERVER_PORT=3200
SECRET="your-secret-key-here"
SESSION_LIFETIME=86400
# Database - MySQL
MYSQL_DBNAME="adastra_dev"
MYSQL_DBUSER="root"
MYSQL_DBPASS=""
MYSQL_DBHOST="localhost"
MYSQL_DBPORT=3306
MYSQL_DBTYPE="mysql"
# Database - MongoDB
MONGODB_URI="mongodb://localhost:27017/adastradb"
# API Keys & External Services
SENDGRID_API_KEY="your-sendgrid-api-key"
SENDGRID_FROM_MAIL="your-email@example.com"
SENDGRID_TO_MAIL="recipient@example.com"
# CouchDB Configuration
COUCHDB_URL="http://localhost:5984"
COUCHDB_DATABASE="your-database"
COUCHDB_DESIGN="your-design"
COUCHDB_CREDENTIAL="base64-encoded-credentials"
# External APIs
SKYDIVERID_API_URL="https://api.example.com"
SKYDIVERID_API_TOKEN="your-api-token"
AUTHORIZATION_PREFIX="Api-Key"
+12
View File
@@ -0,0 +1,12 @@
# Environment files - keep .example files only
.env
.env.local
.env.development
.env.production
.env.test
# Keep example files for documentation
!.env.example
!.env.local.example
!.env.development.example
!.env.production.example