https://github.com/JiayiHong/LineageD_Plus
Raw File
Tip revision: 5d50e95f605545747800c0a7103859da18017667 authored by Jiayi Hong on 11 December 2023, 17:36:49 UTC
Update README.md
Tip revision: 5d50e95
.env.sample
// variables used by the frontend (via the bundler)
// prefixed with FRONTEND_

FRONTEND_BACKEND_URL=http://localhost:3000

// variables used by the backend
// prefixed with BACKEND_

// define where the frontend is listening, used for CORS
BACKEND_FRONTEND_URL=http://localhost:1234

// define where the backed is listening, used for launching express
BACKEND_PORT=3000
BACKEND_ADDRESS=127.0.0.1

// if no DB name specified, Mongo uses test by default
BACKEND_DATABASE_URL=mongodb://user:pass@mondodbhost:mongodbport/db?authSource=admin

// express-session secret to sign cookies
BACKEND_SESSION_KEY=dhdsfhdsjsfgjfdsjdfbn
back to top