Code Monkey home page Code Monkey logo

grocery_allstars's Introduction

Grocery Allstars

How often have you found a slimy pack of salad, or an inedible kernel of something formally known as food, at the back of your fridge? Food waste is a global issue with one third of the global production lost or wasted annually, according to the Food and Agriculture Organisation. In the UK, we throw away 7 million tonnes of food and drink from our homes every year, the majority of which could have been eaten. This wastage costs the average household in the UK ยฃ470 a year.

To help curb this endemic we created an app which uses a barcode scanner to scan food items and notify the user when it is due to be eaten, before the use by date, cutting down on food waste and saving you money.

Usage

The scanner connects to Tesco's API using an AJAX request which brings back product data to the browser. The products are stored in the database and queried using Knex.

Built with

๐Ÿ’ป Node.js

๐Ÿ’ป Express

๐Ÿ’ป Bookshelf

๐Ÿ’ป Postgres

๐Ÿ’ป Mocha

๐Ÿ’ป Chai

๐Ÿ’ป Zombie

Install

This project uses node and npm.

  1. Install Node.js directly from the node.js.org website.

  2. Clone the repo to your computer.

$ git clone https://github.com/AramSimonian/grocery_allstars
$ cd grocery_allstars

Install the node dependencies:

$ npm install 

Use app

$ npm start

visit localhost:3000

Testing

  • Mocha: JS framework running on Node.js
  • Chai: BDD / TDD assertion library
  • Zombie: Feature testing for the browser

Team Members

Licence

MIT

grocery_allstars's People

Contributors

andyrow123 avatar alexscotttonge avatar pablo123github avatar aramsimonian avatar

Watchers

James Cloos avatar

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.