Skip to content

Harshv2608/Sustain-a-bite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌱 Sustain-a-Bite (Frontend)

Food Donation
Status
License

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.


✨ Features

  • πŸ₯— 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.

πŸ› οΈ Tech Stack

  • HTML5, CSS3, JavaScript – core frontend technologies
  • Firebase Auth – authentication system
  • Backend – Sustain-a-Bite Backend (Node.js/Express + CSV database)
  • Deployment – GitHub Pages / Render

πŸš€ Getting Started

1. Clone the repository

git clone https://github.com/Harshv2608/Sustain-a-bite.git cd Sustain-a-bite

2. Open in browser

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/...")).


πŸ” Authentication

This project uses Firebase Authentication.

  • Users must log in before submitting donor/recipient forms.
  • Only authenticated users can view matches.

πŸ“Έ Screenshots

Landing Page

image image image image

Login/SignUp Pages

image

Main Page

image

Donor Form

image

Recipient Form

image

Result Page

image

🀝 Contributing

Contributions are welcome! Here’s how:

  1. Fork the repo
  2. Create a new branch (feature-newUI)
  3. Commit your changes
  4. Push and create a Pull Request

πŸ“œ License

This project is licensed under the MIT License – free to use, modify, and distribute.


🌍 Related Repositories


πŸ‘¨β€πŸ’» Team

Built with ❀️ by Harsh Vardhan and team for a sustainable future. 🌱✨

Releases

No releases published

Packages

 
 
 

Contributors