Skip to content

Commit 3e4a90e

Browse files
Merge pull request #90 from REACT-DEVELOPER-IBROKHIM/fix/upgrade-libs
fix: render file
2 parents 64d52e3 + d6d5643 commit 3e4a90e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

render.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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`).

0 commit comments

Comments
 (0)