- β¨ Features
- π οΈ Tech Stack
- π Project Structure
- βοΈ Setup & Installation
- π Workflow
- ποΈ Database Schema
- πΌοΈ Screenshots
- π€ Contributing
- User Authentication: Secure login/signup for donors and recipients
- Personalized Dashboards: Custom interfaces for donors and charities
- Food Posting: Donors can easily post surplus food details
- Real-time Updates: Instant notifications for available food
- Responsive Design: Works on all device sizes
- MongoDB Integration: Efficient data storage and retrieval
- MongoDB (with Mongoose ODM)
Project Byteverse/ βββ frontend/ β βββ home.html β βββ login.html β βββ dashboard.html β βββ thankyou.html β βββ donor-dashboard.html β βββ recipient-dashboard.html β βββ about.html β βββ donor.html β βββ recipient.html β βββ terms and condition.html β βββ js/ β βββ dashboard.js β βββ donor-dashboard.js β βββ donor.js β βββ login.js β βββ recipient-dashboard.js βββ backend/ β βββ server.js β βββ package.json β βββ routes/ β β βββ food.js β β βββ register.js β β βββ login.js β βββ models/ β βββ food_data.js β βββ registration_data.js βββ assets/ βββ images/ βββ icons/
- Clone the repository
```bash
git clone https://github.com/Mohnish27-dev/Project-Byteverse.git cd Project Byteverse/pre>
- Install dependencies
npm install
npm install cors mongoose express
- Start the development server
node server.js
- Access the app
Openhttp://localhost:3000
in your browser.
const userSchema = new mongoose.Schema({ name: { type: String, required: true }, email: { type: String, required: true, unique: true }, });
const foodSchema=new mongoose.Schema({ name: { type: String, required: true, trim: true }, quantity: { type: Number, required: true, min: 1 }, category: { type: String, required: true, }, expirydate: { type: Date, required: true }, description: { type: String, trim: true }, pickupTime: { type: String, required: true }, storage: { type: String, required: true } })
Homepage | SignUp Page | Dashboard | Donate | About |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
- Register/Login: Create an account as a food donor
- Post Food: Fill out the food donation form with details:
- Food type and quantity
- Preparation and expiry times
- Special instructions or allergens
- Pickup location and availability
- Manage Donations:
- View your active donations on dashboard
- Update donation status when claimed
- View recipient details when matched
- Register/Login: Create an account as a verified food recipient
- Browse Available Food:
- Search by location, food type, or quantity
- View detailed food information
- Check preparation and expiry times
- Request Food:
- Submit pickup request for desired items
- Coordinate pickup time with donor
- Receive confirmation details
βββββββββββββββββββββββ βββββββββββββββββββββββ βββββββββββββββββββββββ β β β β β β β Food Donor βββββββΆβ RescueBite βββββββΆβ Food Recipient β β (Restaurants/ β β Platform β β (Charities/NGOs) β β Individuals) ββββββββ ββββββββ β βββββββββββββββββββββββ βββββββββββββββββββββββ βββββββββββββββββββββββ β β β β 1. Posts available food β 2. Lists available food β βββββββββββββββββββββββββββΆβββββββββββββββββββββββββββΆβ β β β β 6. Receives confirmation β 5. Updates food status β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β β β β β 3. Browses & requests β β βββββββββββββββββββββββββββΆβ β β β β β 4. Confirms pickup β β ββββββββββββββββββββββββββββ
RescueBite platform workflow from donation to distribution
Made with β€οΈ to reduce food waste and fight hunger
Feel free to fork, suggest improvements, or report issues!
π§ Contact: [email protected]
π² Share Food, Save Lives! π