Food Donation

Food Donation is a web application aimed at connecting individuals and organizations willing to donate excess food with those in need. It provides a platform to reduce food waste and contribute to the well-being of communities.

Features

  • User registration and login: Individuals and organizations can create accounts and login to the platform.
  • Donation listings: Users can create listings to donate excess food, specifying details such as food type, quantity, and expiry date.
  • Search and filtering: Users can search for available donations based on location, food type, or other criteria.
  • Donation requests: Users in need can request specific donations or express interest in available listings.
  • Messaging system: Users can communicate and coordinate donation details through an integrated messaging system.
  • Feedback and ratings: Users can provide feedback and ratings to ensure transparency and accountability.

Technologies Used

  • Frontend: HTML, CSS, JavaScript, React.js
  • Backend: Node.js, Express.js, MongoDB
  • Authentication: JSON Web Tokens (JWT)
  • Communication: Socket.IO
  • Hosting: Heroku (backend), Netlify (frontend)

Installation

  1. Clone the repository: git clone https://github.com/devprashantt/food-donation.git

  2. Frontend Installation:

  3. Navigate to the project frontend directory:

    cd food-donation/client
    
  4. Install dependencies:

    npm install
    
  5. Start the development server:

    npm start
    
  6. Backend Installation:

  7. Navigate to the project backend directory:

    cd food-donation/server
    
  8. Install dependencies:

    npm install
    
  9. Start the development server:

    npm start
    

Make sure you have Node.js and npm (Node Package Manager) installed on your machine before running these commands.

Usage

  1. Frontend:
  2. The frontend application can be accessed at http://localhost:3000 in your web browser.
  3. Follow the provided UI to navigate through the food donation process.

  4. Backend:

  5. The backend server will be running at http://localhost:3000.

  6. The frontend application will communicate with the backend server for data exchange.

Contributing

Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Share this project:

Updates