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.
- 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.
- 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)
-
Clone the repository:
git clone https://github.com/devprashantt/food-donation.git
-
Frontend Installation:
- Navigate to the project frontend directory:
cd food-donation/client
- Install dependencies:
npm install
- Start the development server:
npm run dev
- 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.
- 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.
- Backend:
- The backend server will be running at
http://localhost:3000
. - The frontend application will communicate with the backend server for data exchange.
Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.
This project is licensed under the MIT License.