Government of India - Ministry of Tourism
# Start both frontend and backend
npm run dev- Frontend: http://localhost:3000
- Backend: http://localhost:5000
- Mobile: http://YOUR_LOCAL_IP:3000
Admin:
- Email:
admin@touristsafety.gov.in - Password:
admin123
Tourist:
- Email:
tourist@example.com - Password:
tourist123
- ✅ Real-time location tracking
- ✅ IoT device monitoring
- ✅ Emergency alerts (WebSocket)
- ✅ AI Chatbot (Google Gemini)
- ✅ Digital tourist ID with QR
- ✅ Interactive maps (OpenStreetMap)
- ✅ Weather widget (Open-Meteo)
- ✅ Admin & Police dashboards
- ✅ Dark/Light theme
- ✅ Mobile responsive
Frontend: React 19 + TypeScript + Vite + TailwindCSS + Leaflet
Backend: Node.js + Express + SQLite + Socket.io
APIs: Google Gemini AI, Open-Meteo, OpenStreetMap
smarttourist/
├── backend/ ← Express API server
├── src/ ← React frontend
├── public/ ← Static assets
└── package.json ← Dependencies
# Install dependencies
npm install
cd backend && npm install && cd ..
# Development (both servers)
npm run dev
# Frontend only
npm run client
# Backend only
npm run server
# Build for production
npm run buildVersion: 1.0.0
Status: Production Ready ✅