A smart food waste management system that connects food donors with recipients to reduce food wastage and fight hunger.
This repository contains the frontend code for Sustain-a-Bite.
- π₯ Donor & Recipient Forms β simple UI for submitting food availability and needs.
- π Firebase Authentication β secure login & signup for users.
- π Backend Integration β communicates with Sustain-a-Bite backend API (hosted on Render).
- π Matching System β view matches between donors and recipients.
- π¨ Responsive Design β clean and user-friendly interface.
- HTML5, CSS3, JavaScript β core frontend technologies
- Firebase Auth β authentication system
- Backend β Sustain-a-Bite Backend (Node.js/Express + CSV database)
- Deployment β GitHub Pages / Render
git clone https://github.com/Harshv2608/Sustain-a-bite.git cd Sustain-a-bite
Since this is a static frontend, you can simply open index.html in your browser.
For local development with backend API, update API endpoint URLs in the JavaScript files (e.g., fetch("https://your-backend-url/...")).
This project uses Firebase Authentication.
- Users must log in before submitting donor/recipient forms.
- Only authenticated users can view matches.
Contributions are welcome! Hereβs how:
- Fork the repo
- Create a new branch (
feature-newUI) - Commit your changes
- Push and create a Pull Request
This project is licensed under the MIT License β free to use, modify, and distribute.
Built with β€οΈ by Harsh Vardhan and team for a sustainable future. π±β¨