Welcome to
where every plate tells a story of compassion and sustainability! Join us in our mission to transform leftover food from restaurants into a lifeline for those in need. Together, we're not just reducing wastage; we're nourishing souls and building a brighter, more equitable future. Let's turn every meal into a beacon of hope for those who face hunger daily. Together, we can make a difference, one plate at a time.i) Basically, the website caters to two types of audiences: donors and receivers. There are two pages: one shows posts from restaurants that have leftover food and want to donate, while the other page features posts from organizations that need food for that day.
ii) Donors can only donate within their district and only if the food capacity of their post is greater than the recipient's post requirement.
iii) This project uses JWT authentication, OTP verification, and cookies to persist a user session when the website reloads.
iv) User can edit or delete posts according to their requirement, users can also edit their profile.
v) Once a donor donates to a receiver, the details of both posts will be visible on the connected posts page. An email containing the details of both the donor and the receiver will be sent to each party so they can coordinate and ensure the safe delivery of the food.
vi) If user forgets his/her password then it can be changed via OTP verification.
vi) This is fully responsive website which can also be accessed on Mobile phone without any problem by this url :-
3) NOTE:- To look upon all features of website , try to signup with a donor type account and create a donor post and click on donate on a reciever post. If gives any pop-up like quantity not sufficient or district not same then you can edit your post according to receiver post requirements.
3) NOTE:- All the posts created will be deleted automatically, from Donor posts/Reciever post page, at 7:00 AM the next day ,but user can see the posts created by them in the Your Posts page which can be accessed from profile section by clicking on profile picture.
1) git clone https://github.com/psg-19/Community_Cares.git
2) cd community_cares
3) cd server
4) npm install
5) Create a .env file in root directory of server and add followingDATABASE_URL=
#smtp mail sender setup MAIL_HOST=smtp.gmail.com MAIL_USER= MAIL_PASS=
FRONTEND_URL=http://localhost:3000 PORT=4000
JWT_SECRET=
#Cloudinary setup CLOUD_NAME= API_KEY= API_SECRET= FOLDER_NAME=
6) cd ..
7) cd client
8) npm install
9) Create a .env file in root directory of client and add following
10) REACT_APP_BACKEND_URL=http://localhost:4000/api/v1
11) npm run dev