This is a Smart Waste Management System designed for Jamnagar Municipal Corporation (JMC). The platform helps residents report waste collection issues, allows garbage collectors to manage pickups, and provides administrators with insights into waste management operations.
SGH_CLEAN/
│── backend/ # Node.js (Express) Backend
│ ├── config/ # Configuration files (DB, env, etc.)
│ ├── controllers/ # Route handlers and business logic
│ ├── middlewares/ # Custom middleware
│ ├── models/ # Mongoose schemas
│ ├── routes/ # API routes
│ ├── public/ # Public assets
│ ├── .env # Environment variables
│ ├── .gitignore # Ignored files
│ ├── app.js # Main backend entry
│ ├── package.json # Backend dependencies
│
│── frontend/ # React (Vite) Frontend
| |── src/
| | │── assets/ # Images, icons, logos
| | │── components/ # Reusable UI components (Navbar, Footer, Button, etc.)
| | │── context/ # State management (Auth, Theme, etc.)
| | │── styles/ # Global styles (CSS, Tailwind)
| | │── utils/ # Helper functions (API calls, formatting)
| | │── App.jsx # Main application file
| | │── main.jsx # Entry file
│
│── Readme.md # Project documentation
- User Roles: Resident, Garbage Collector, Admin
- User Authentication: Secure login/signup system
- Reporting Issues: Residents can report uncollected waste
- Task Management: Admins assign and track garbage collection tasks
- Real-time Location Tracking: Garbage collectors update their location (to be added with WebSockets)
- Dark Mode / Light Mode
- Frontend: React (Vite), Tailwind CSS
- Backend: Node.js, Express.js, MongoDB (Atlas)
- Database: MongoDB Atlas (Cloud Database)
- Authentication: JWT (JSON Web Tokens)
- API Integration: Google Maps API
- Deployment: (To be decided)
cd backend
npm install
node app.jsEnvironment Variables (.env):
PORT=5000
MONGO_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/
JWT_SECRET=your_secret_key
cd frontend
npm install
npm run dev- 📍 Live Tracking using WebSockets
- 📊 Admin Dashboard with analytics
- 📱 Mobile Responsive UI
- 📦 Optimized Database Queries for large-scale data
👨💻 Contributors: CleanBage & Team.
🚀 Let's make waste management smarter!