FoodLink - Food Redistribution Platform
FoodLink is a web-based platform that connects food donors with local food banks and charities to reduce food waste. Built with the MERN stack (MongoDB, Express, React, Node.js).
Features
- User authentication for Donors, Charities, and Admins
- Donation listing management
- Real-time donation status updates
- Built-in messaging system
- Admin dashboard with analytics
- Responsive UI design
Project Structure
foodlink/
├── client/ # React frontend
├── server/ # Node.js/Express backend
└── README.md
Prerequisites
- Node.js (v14 or higher)
- MongoDB
- npm or yarn
Setup Instructions
- Clone the repository
- Install dependencies: ```bash # Install backend dependencies cd server npm install
# Install frontend dependencies cd ../client npm install
3. Create a `.env` file in the server directory with the following variables:
MONGODB_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret PORT=5000
4. Start the development servers:
```bash
# Start backend server
cd server
npm run dev
# Start frontend server
cd ../client
npm start
Testing
# Run backend tests
cd server
npm test
# Run frontend tests
cd ../client
npm test


Log in or sign up for Devpost to join the conversation.