Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 2.44 KB

README.md

File metadata and controls

75 lines (56 loc) · 2.44 KB

Food Donation

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 wastage 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:

  • Navigate to the project frontend directory:
    cd food-donation/client
    
  • Install dependencies:
    npm install
    
  • Start the development server:
    npm run dev
    
  1. Backend Installation:
  • Navigate to the project backend directory:
    cd food-donation/server
    
  • Install dependencies:
    npm install
    
  • 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:
  • The frontend application can be accessed at http://localhost:3000 in your web browser.
  • Follow the provided UI to navigate through the food donation process.
  1. Backend:
  • The backend server will be running at http://localhost:3000.
  • 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.