Live Demo: cleancity-plus.vercel.app
CleanCity+ is a Next.js (React) web app that educates users on waste categories and helps them log, track, and visualize their recycling efforts.
It emphasizes React fundamentals (components, props, state, hooks) and JavaScript interactivity (CRUD operations, search, charts, and persistence with localStorage).
-
Homepage
- Navbar with links to Home, Waste Categories, Recycling Tracker, Pledge
- Hero section with call-to-action
- Random “Did You Know?” fact generator
-
Waste Categories
- Accordion (React-Bootstrap) for Plastic, Organic, E-waste, Paper, Glass
- Each section contains tips and disposal info
-
Recycling Tracker
- TrackerForm to add items (category + quantity)
- TrackerTable to view, edit, and delete logs
- Persist data with
localStorage
- Search & sort functionality
- Chart (Recharts) showing totals per category
- Achievement badges when milestones are hit
-
Pledge Page
- Users submit a pledge
- Pledges stored in
localStorage
- Live pledge counter
-
Responsive Design
- Built with React-Bootstrap grids, Tailwind utilities, and responsive tables
Here are some screenshots of CleanCity+ in action:
git clone https://github.com/your-username/cleancity-plus.git
cd cleancity-plus
npm install
npm install react-bootstrap boostrap recharts react-icons recharts
npm run dev
npm run build
npm start
I’d love to hear your thoughts and suggestions!
- Found a bug? → Open an issue
- Have an idea or suggestion? → Start a discussion
- Want to contribute? → Fork the repo and submit a Pull Request
Your feedback helps me improve these tasks 🚀