Skip to content

karineseguin22/final-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoodCycle

FoodCycle is an application that allows merchants to post an add for food that remains at the end of the day or week that would otherwise be thrown out. The merchant is then able to recuperate some lost revenue by selling these remaining items at a discount. Users of the app can browse deals in their area and pay for them directly on the site, then simply pick them up before the end of the day.

The project team consists of Karine Seguin, Yu Liang, Saad Hafa & Fred Lavoie.

Front-end:

The html content is rendered on the client side using the ReactJS framework/library. React allow the developer to create the interactive parts of the app in JavaScript and render the html needed as well as change the html elements quickly making the application dynamic.

Using a front-end framework called Materialize, the application has a modern and responsive look that users expect. The application also makes use of Sass to give additional style customization to the content.

Back-end:

The back-end server is built using node.js and Express.js - a node.js framework. The back-ened serves as an API to the front end while the front-end does the navigation by rendering the various components.

Screenshot

Home page

Signup page

Deals page sorted by merchant

Deals page sorted by expiry date

Map view showing merchants

Shopping cart

Checkout

Order history

Merchant dashboard

Getting started

  • clone repository to your local machine
  • create a .env file as per .env.example and fill out the information required
  • in terminal, run knex migrate:latest in the 'backend' directory
  • in terminal, run knex seed:run in the 'backend' directory
  • in terminal, run npm install and then npm start in the 'client' directory
  • in terminal, run npm install and then npm run dev in the 'backend' directory
  • navigate to localhost:3000 in your browser

Dependencies

About

Lighthouse Labs final project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • CSS 2.1%
  • HTML 1.5%