Skip to content

ernesto13/LettuceEat

 
 

Repository files navigation

LettuceEat

LettuceEAT connects local restaurants and/or businesses with a surplus of unsold food to non-profit organizations in the greater Tucson area.This application allows all public to see donation posts, donors' profiles and nonprofits' profiles. Donors need to sign up in order to make donation posts and non profits need to sign up in order to contact donors about their interest. LettuceEAT aims to reduce food waste one bite at a time.

Demo gif

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  1. Install Node.js (https://nodejs.org/en/download/)
  2. Install MySQL (https://www.mysql.com/downloads/)

Installing

  1. Clone the github repo using command line:
git clone https://github.com/michellele994/LettuceEat.git
  1. Using command line go to the LettuceEact directory
cd LettuceEat
  1. Reset Database: Copy the schema,in the db folder,paste it into your desired mysql interface/command line.
  2. Once in the LettuceEat directory
cd client
  1. Run the install package.json dependencies in the client folder
yarn install
  1. Now install server side dependencies by going back to the LettuceEat directory
cd .. 
  1. Now install server side dependencies by
yarn install 
  1. Run
yarn build
  1. Run the app
yarn start
  1. If successfull you should see the following message on you command line,
App listening on PORT 3001
  1. Your app should automatically open on http://localhost:3000/

Running the tests

  1. Go to ClassroomApp directory run in command line
yarn test

Deployment

Follow Heroku's deployment instructions

Built With

  • React.js -To create the user interface
  • Sequelize - Promised-based ORM used
  • Express - Web framework used
  • Yarn - Package manager employed
  • Mocha - Used as testing framework
  • chai - Assertion library paired with Mocha for testing

Authors

  • Michelle Le - Team Lead - GitHub
  • Brandon Haines - Team:Front-end - GitHub
  • Ernesto Samaniego - Team:Front-end - GitHub
  • Perla Ballesteros - Team:Front-end/Back-end - GitHub

Acknowledgments

  • Bootcamp TAs: Joel Borjorquez,Peter Fesz-Nguyen,and Nicholas Green.
  • Bootcamp Instructor: Jan Jorgensen.
  • Produce on Wheels With-Out Waste

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.5%
  • HTML 6.5%
  • CSS 2.0%