Giter VIP home page Giter VIP logo

surplus's Introduction

Surplus

๐Ÿ”ฅ 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.

Screenshots

Login Page with error handling for invalid parameters

Dashboards for the restaurant and homeless shelter respectively

Installation

  1. Clone this repo
  2. Run npm install and then npm run dev to set up the dev server
  3. To set up a test production server run npm run start

Usage

  1. Restaurant account name: restaurant with password: 123abc
  2. Homeless shelter account name: shelter with password: 123abc

Code Goals

  • 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

surplus's People

Contributors

chrischuck avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ramanasha

surplus's Issues

Cleanup boilerplate

There's some remaining traces of boilerplate in the package.json and other files. Would be nice if that could be cleaned up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.