🔥 3rd place at BroncoHack 2017! 🔥
Written using preact, webpack, preact-mdl and love!
Our goals with Surplus was to be able to help offset waste foods from restaurants by allowing them to sell their leftovers for discounted prices to homeless shelters. Furthermore, we brought analytics into play so that the restaurants could see what foods they may be overproducing to help curb excess waste before it even begins.
- Clone this repo
- Run
npm install
and thennpm run dev
to set up the dev server - To set up a test production server run
npm run start
- Restaurant account name:
restaurant
with password:123abc
- Homeless shelter account name:
shelter
with password:123abc
- Modularize code and decrease inline styling
- Update dependencies (Webpack 2 and preact 8)
- Get rid of all unused CSS
- Replace Google charts with a more preact friendly lib
- Increase performance/render times