Node.js & React Code Deployment

Job ID: 40378474

Budget: ₹600 – ₹1,500 INR

Need someone to deploy code. This will be ongoing work.

SETUP:

* Backend: Node.js (Express)
* Frontend: React (Vite)
* Server: Hostinger VPS
* Domain:

* Frontend: app.domain.com
* Backend: api.domain.com

TASK:

1. Clone repo or use provided ZIP

2. Backend Setup:
cd backend
npm install

Create .env:
PORT=3000
MONGO_URI=mongodb://127.0.0.1:27017/invesol
JWT_SECRET=supersecret

3. Install MongoDB:
apt install -y mongodb
systemctl start mongodb
systemctl enable mongodb

4. Run backend:
pm2 start src/server.js --name invesol
pm2 save

5. Setup Nginx:
server {
server_name api.domain.com;

```
location / {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
}
```

}

6. Enable SSL:
certbot --nginx

7. Frontend:
cd frontend
npm install
npm run build

Upload dist to:
public_html/app

8. Update API URL:
https://api.domain.com

DELIVERABLE:

* Working API
* Working frontend
* SSL enabled
* Both URLs accessible

IMPORTANT:

* Do not use localhost in production
* Ensure backend runs via pm2

Task: Deploy Node.js + MongoDB app on Hostinger VPS

Requirements:

* Setup Node + PM2
* Setup MongoDB
* Configure Nginx reverse proxy
* Setup SSL
* Connect frontend + backend

Time: 2–4 hours max

No coding required — only deployment
I will give you zip file and you need to deploy. Weekly work.