A sleek and efficient frontend interface for scraping business names, phone numbers, addresses, and websites from Google Maps.
It works with the Node.js backend and provides real-time WebSocket logs, CSV download, and cancel functionality.
- Real-time log updates via WebSocket
- Auto CSV file download
- Cancel scraping mid-run
- Works locally or in production (Vercel / AWS Amplify)
| Layer | Technology |
|---|---|
| Frontend | React + Vite |
| Hosting | AWS Amplify or Vercel |
| Communication | WebSocket (with backend) |
frontend/
├── src/
│ ├── App.jsx
│ ├── main.jsx
│ └── assets/
├── vite.config.js
├── index.html
├── package.json
└── .env
Update .env file in frontend:
VITE_BACKEND_URL=http://localhost:4000VITE_BACKEND_URL=https://backend.onrender.com# Install dependencies
npm install
# Start frontend
npm run devThen open the browser at:
http://localhost:5173
- Push frontend folder to GitHub.
- Deploy on Vercel or AWS Amplify.
- Set environment variable:
VITE_BACKEND_URL=https://backend.onrender.com- Build and deploy.
MIT License © 2025 [FluxMessenger]