Git Product home page Git Product logo

avo_shopper's Introduction

Avo shopper

It’s avocado season and there are special offers everywhere. Help your friends to keep track of finding the cheapest avos by creating a little web app using the supplied Factory Function in avo-shopper.js.

Use the sql script in sql/tables.sql to create the required tables in your local database.

Check out test/avo-shopper.test.js to see how to use the supplied Factory Function.

Create these screens:

  • Create a screen where new avo deals can be added: A deal has a price and qty. It's created at a given shop. Shops should be selected from a dropdown. Qty and price should not be blank. And a shop must be selected before a deal is added.

  • Create a screen that shows a list of all the shops.

    • Use the pre-populated shops in the data.sql file
  • Create a screen that show all the avo deals for a given shop - link to this screen from the shop list screen above. Show deals in the format qty for price. For example 3 for R18, 5 for R27

  • Create a screen where a new shop can be added. Add a link to this screen from the Shop list screen.

  • Show a list of the top 5 avo deals - this should be your landing page. Use deal format. Add some avo picture or ways to show deal details visually.

  • Allow a user to enter how much money they have to recommend to them where to go and buy their avo’s. Show the deals, the shop name and the unit_price for each deal.

Get going

To get going:

  • Fork & Clone this repo
  • Install the dependencies
  • Run the app

Other things

  • Deploy your app to heroku - share the link with us
  • Ensure your app is responsive.
  • Create a color scheme with some elements of green using : https://coolors.co/
  • Create a paper prototype for your screens - plan your screens. Add this to your repo in GitHub.
  • Use ExpressJS and Handlebars we started the app for you in index.js.
  • Setup your own travis deployment.

Share this with us via email

  • Your paper prototype - do this first. In the first hour of working on your app.
  • The link to your deployed app.

avo_shopper's People

Contributors

mbalindaba01 avatar codex-avee 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.