In this project, we have implemented food pantry management using a NodeJS-based web framework. This project allows the organizations to keep track of the food items available and utilized by community members. It ensures the control of pantry services for the staff and administration. The application also helps to keep track of donations from various sources and effectively visualize the records.
See the Contributing guide if you want to find out who has contributed and how you can too!
More Info: Back-End README
More Info: Front-End README
This project implements a dashboard system for various operations, like checkout students, stock management, and donation tracking.
This functionality allows to add the stock and maintain the record for various type of donations by category i.e., Anonymous, Organization, and Pantry Purchased.
Additionally, Allowing to manage the purchase and expiry of the stock.
The sales report allows the admin or the pantry organization to visualize the stock, expiry, and waste management. It also helps to keep the count of various parameters such as students count, expired item count, available item count, and utilized item count.
This project is currently build with 3 major components. A database, a backend, and a frontend. All are able to run inside of containers. You can find instructions to run each locally, outside of containers, in their respective READMEs. In this section we'll use docker-compose to get the full application running.
=======
More Info: Front-End README
This project implements a dashboard system for various operations, like checkout students, stock management, and donation tracking.
This functionality allows to add the stock and maintain the record for various type of donations by category i.e., Anonymous, Organization, and Pantry Purchased.
Additionally, Allowing to manage the purchase and expiry of the stock.
The sales report allows the admin or the pantry organization to visualize the stock, expiry, and waste management. It also helps to keep the count of various parameters such as students count, expired item count, available item count, and utilized item count.
This project is currently build with 3 major components. A database, a backend, and a frontend. All are able to run inside of containers. You can find instructions to run each locally, outside of containers, in their respective READMEs. In this section we'll use docker-compose to get the full application running.
Clone this repo to your local machine.
git clone https://github.com/ChicoState/PantryNode
Set up your environment variables.
cp .env.example .env
Build and start all the docker containers.
docker-compose up
You can view the frontend at: http://localhost:3000
You can access the database administration console at: http://localhost:82
You'll need to use the PGADMIN credentials from your .env
file.
To connect to the running database, you'll need to add a new server to the management console by:
Add New Server
.local-pantry
.database
for the
host.local-pantry
from above).pantrynode
normally).You can locate the tables under Schemas > public > Tables.
You can open up a query view using the icon on the top left with the Database and Play Button, then try out this query below.
SELECT * FROM person;
This will show you the emails and hashed passwords for all the registered users in this database.
If there are issues with your docker-compose setup such as packages that are not installed, you can try to rebuild the container.
docker-compose up --build