Get Multilingual Mandi up and running in a few minutes!
Fastest way to explore the app without any external services.
-
Clone the repository
git clone https://github.com/NRR385/Multilingual-Mandi cd "Multilingual Mandi"
-
Install dependencies
- Backend:
cd backend npm install - Frontend:
cd ../frontend npm install
- Backend:
-
Start the backend server
cd ../backend node server.jsBy default the API listens on
http://localhost:5000/. -
Run the frontend in dev mode
cd ../frontend npm run devOpen
http://localhost:3000in your browser and you should see the dashboard. -
Try the features
- Enter some text and select a language to see translations.
- Use the price assistant controls to simulate negotiation/price discovery.
📝 The frontend automatically talks to the locally running backend, no extra configuration needed.
- Translate between Hindi, English, and other supported languages in real time.
- Enter price data and see suggestions for minimum/average/recommended.
- Check console logs for backend API responses.
- Modify a React component in
frontend/srcand watch Vite hot‑reload.
| Problem | Solution |
|---|---|
| Server won’t start | Ensure Node.js 18+ is installed and run npm install again. |
| Frontend throws errors | cd frontend && npm run lint to see code issues. |
| CORS errors | Confirm backend is running and update cors origin configuration in backend/server.js. |
| Build fails | Delete node_modules and package-lock.json then reinstall. |
- Read
README.mdfor full overview and project goals. - Explore
frontend/srcandbackendfor code structure. - Add new languages or extend the price assistant logic.
- Set up CI/CD, tests, or deploy to a cloud provider.
Happy translating!