GithubHelp home page GithubHelp logo

tonykimathi / shopping_list_app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.84 MB

This is an application that allows users to record and share things they want to spend money on meeting the needs of keeping track of their shopping lists.

HTML 48.92% CSS 2.01% Python 49.06%
shoppinglist flask test-driven-development

shopping_list_app's Introduction

Build Status GitHub issues Coverage Status

Shopping_List_App

This is an application that allows users to record and share things they want to spend money on meeting the needs of keeping track of their shopping lists.

Features

  1. Users can sign up for new accounts.
  2. Users can log in.
  3. Users can create, view, update and delete shopping lists.
  4. Users can add, update, view and delete items in a shopping list.

Installation procedure

Clone this repository:

Install a virtual environment:

  • $ pip install virtualenv

Activate your virtual environment:

  • $ source yourenvname/bin/activate

Install requirements:

  • $ (yourenvname) pip install -r requirements.txt

Running the tests

This code has been tested usingunittest and nosetest.

$ nosetests --with-coverage --cover-package=Tests && coverage report

Samle output

...........................
Name                       Stmts   Miss  Cover   Missing
--------------------------------------------------------
Tests\__init__.py              0      0   100%
Tests\test_bucketlist.py      81      0   100%
app\__init__.py                6      3    50%   7-10
app\models.py                 73     56    23%   6-9, 11-24, 27, 31, 34, 37, 42-45, 53-54, 57-59, 61, 66-108
config.py                      6      0   100%
--------------------------------------------------------
TOTAL                        166     59    64%
----------------------------------------------------------------------
Ran 27 tests in 2.885s

OK
Name                       Stmts   Miss  Cover
----------------------------------------------
Tests\__init__.py              0      0   100%
Tests\test_bucketlist.py      81      0   100%
app\__init__.py                6      3    50%
app\models.py                 73     56    23%
config.py                      6      0   100%
----------------------------------------------
TOTAL                        166     59    64%

Running the application

  • $ export FLASK_CONFIG=development
  • $ export FLASK_APP=run.py
  • $ flask run

Deployment

This product is still at the development stage

Author

shopping_list_app's People

Contributors

devgenie avatar tonykimathi avatar ynot93 avatar

Watchers

 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.