Harvest Hub is a platform dedicated to connecting those in need of food with generous donors willing to help. Our mission is to reduce hunger by facilitating easy and efficient food donations.
Live site: Harvest Hub
- Authentication Options: Sign up and log in using email-password, Google accounts, ensuring secure access and convenience for users.
- Search and Sort Functionality: Easily find specific food items or refine results based on various criteria, enhancing user experience and efficiency.
- Cookie Usage: Implement cookies to enhance user experience, such as remembering login sessions and preferences, providing a seamless and personalized browsing experience.
- Frontend: React.js for a dynamic and responsive user interface.
- Backend: Node.js and Express.js for a robust server-side framework.
- Database: MongoDB for flexible and scalable data management.
- Hosting: Firebase for secure and reliable cloud hosting.
To run this project locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/Md-Nur/harvest-hub.git
-
Setup Environment Variables:
- Navigate to the
client
directory and rename the.env.sample
file to.env
. Fill in the required environment variables. - Navigate to the
server
directory and rename the.env.sample
file to.env
. Fill in the required environment variables.
- Navigate to the
-
Install Dependencies:
- For the client:
cd harvest-hub/client npm install
- For the server:
cd ../server npm install
- For the client:
-
Run the Application:
- For the client:
cd ../client npm start
- For the server:
cd ../server npm start
- For the client:
-
Access the Application: Open your browser and navigate to
http://localhost:5173
for the client side andhttp://localhost:3000
for the server side.