File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ previews :
2+ generation : automatic
3+
4+ services :
5+ # Backend: Node / Express server
6+ - type : web
7+ name : ntl-server
8+ runtime : node
9+ plan : standard
10+ buildCommand : cd server && npm ci
11+ startCommand : cd server && node index.js
12+ envVars :
13+ - key : PORT
14+ value : " 4000"
15+ - key : MONGO_URI
16+ value : " mongodb+srv://ibrokhim:Ibrokhim1234@base.agtyh.mongodb.net/NTL?retryWrites=true&w=majority"
17+ - key : JWT_SECRET
18+ generateValue : true
19+ healthCheckPath : /
20+ # Notes:
21+ # - Replace <YOUR_MONGODB_CONNECTION_STRING> with a real MongoDB URI (Atlas or self-hosted).
22+ # - After deploying, update `API_BASE_URL` to the server's actual public URL or a custom domain.
23+ # - If you prefer the server to use a process manager, adjust `startCommand` (for example `pm2 start`).
You can’t perform that action at this time.
0 commit comments