Skip to content

lekpeng/food-rescue

Repository files navigation

Food Rescue

Introduction


Food Rescue is a food-sharing site inspired by Olio, where users can easily give away and receive food that would have otherwise been thrown away.

Link to Site


https://food-rescue-proj.herokuapp.com/

Technologies


  • Node.js
  • Bootstrap
  • MongoDB
  • Leaflet

Packages used


  • Bcrypt
  • Cloudinary
  • Dotenv
  • EJS
  • Express
  • Express-session
  • JOI
  • Method-override
  • Multer
  • Multer-storage-cloudinary
  • Socket.io

Planned Schema


alt text

Routes


MODEL HTTP Verb Route name Route URL Description
USERS GET New /signup Show form to create user by prompting user to sign up
POST Create /signup Create user after successful sign up
GET New /login Show form to login by prompting user to log in
POST Create /login Create session after successful login
DELETE Destroy /logout Destroy session when user logs out
GET Show /users/:username Show user's profile (listings)
LISTINGS GET Index /listings Filter and view listings
GET Show /listings/:listingId Show info about listing
GET New /listings/new Show form to create listing
POST Create /listings Create listing
GET Edit /listings/:listingId/edit Show form to edit listing
PUT Update /listings/:listingId Update listing with the edits
DELETE Destroy /listings/:listingId Destroy listing

Future Feature Ideas


  • Allow user to change location for listing if desired
  • Private chat function
  • Suggest category classification based on image uploaded

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published