Git Product home page Git Product logo

aayush301 / food-donation-management-system Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 7.0 436 KB

A web application which is useful for management of food donation and collection activities.

Home Page: https://food-aid.onrender.com/

JavaScript 33.18% CSS 5.09% EJS 61.73%
html css javascript nodejs expressjs ejs mongodb mongoose connect-flash express-ejs-layouts bcryptjs passport passport-local dotenv method-override express-session

food-donation-management-system's Introduction

Food Donation Management System

A web application which is useful for management of food donation and collection activities.
View Demo

Table of Contents

Installation and Setup

  1. Install all the dependencies
    npm install
  2. Create a file named ".env" and enter the following credentials:
    MONGO_URI = yourmongouri;
  3. Run the web application
    npm start
  4. Open http://localhost:5000
  5. You need to first signup and then login to run the application.

Features

  • The system consists of three types of users: admins, donors and agents.
  • Admins: They control all the activities and accept/reject donations and select agents.
  • Donors: They are the driving users of the application who donate food.
  • Agents: They are responsible for collecting food from homes of food donors.
  • Each user should have an account.
  • Every user also have a dashboard where they can view several things in short summary.
  • The application provides signup, login and logout functionalities.

Donor Features

  • Donors make the donation request for food with basic details.
  • Donors' donation requests can be accepted or rejected and the status can be easily tracked by them.
  • Donors can view their current incomplete donations (if any).
  • Donors can also view all their past donations.
  • Donors can update their profile.

Admin Features

  • Admins receive all the requests made by donors.
  • Admins can accept or reject the donation requests depending upon the details provided by a donor.
  • If accepted, admins can assign an agent to a donation for collecting donation from the donor's home.
  • Admins can view all the pending donations along with status.
  • Admins can view all the donations that they have received.
  • Admins can also view all the agents in the application.
  • Admins can update their profile.

Agent Features

  • Agents will receive notifications from admins to collect food from donor's homes.
  • Agents can mark their collection upon collection of food from donor's home.
  • Agents can also view all those food donations which have been collected by them previously.
  • Agents can update their profile.

Technologies used

  • HTML
  • CSS
  • Bootstrap
  • Javascript
  • Node.js
  • Express.js
  • Mongodb
  • ejs

npm packages used

  • express
  • ejs
  • express-ejs-layouts
  • mongoose
  • express-session
  • bcryptjs
  • passport
  • passport-local
  • connect-flash
  • method-override
  • dotenv

Prerequisites

For running the application:

  • Node.js must be installed on the system.
  • You should have a MongoDB database.
  • You should have a code editor (preferred: VS Code)

Useful Links

Contact

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.