An app for sharing food with people near you and reducing waste. Users can upload items, categorized as either dishes or groceries, which can be discovered based on one’s geographical location. Users can also request items, and communicate through the chat to coordinate the pick-up at a preferred time.
-
Clone this repository with the command and get into the main directory
git clone https://github.com/braga-felipe/heaps cd heaps -
Get into the server directory and install the dependencies
cd server npm install -
From the server directory, get into the client directory and install the dependencies there as well
cd ../client npm install -
The app uses a PostgreSQL database. In the server/index.ts file, on line 52, replace the process.env.DB_URL with a link to your own PostgreSQL database.
... await createConnection({ url: process.env.DB_URL, # <---- enter your URL here! type: 'postgres', ... ...

