Gratify is a web app designed to help reduce food waste by connecting restaurants, grocery stores, and individuals with surplus food to people who need it. The app enables businesses and individuals to list surplus food at discounted prices or for free, and users or charity organizations can find, claim, and pick it up. Gratify aims to contribute to sustainability by tackling food waste, addressing the growing inflation problem, reducing hunger, and fostering a better community and environment.
- Surplus Food Listings: Businesses can list surplus food items at discounted or free prices.
- Food Search and Pickup: Users can search for available food items nearby and claim or pick them up.
- User Authentication: A secure login and registration system for users and businesses.
- Surplus Food Categories: Organize food listings by type (e.g., vegetables, fruits, dietary restriction, prepared meals) for easy browsing.
- User Ratings and Reviews: Allow users to rate and review businesses for the food they collect.
- Popup Modal for Listings: When users click on a food item in the list, a popup modal displays more details, including food description, pickup instructions, comment section, and more.
- Frontend: React
- Backend: Node.js, Express
- Database: MongoDB
- Authentication: Firebase Authentication
- Clone the repository:
git clone https://github.com/priiiyaa/gratify.git
- Navigate to the project directory
cd gratify - Install the dependencies:
npm install
- Set up environment variables: Create a .env file in the root directory and add the following variables
MONGO_URI=your_mongodb_uri FIREBASE_API_KEY=your_firebase_api_key
- Start the development server
npm start
- Open the app in your browser at http://localhost:3000.