Giter VIP home page Giter VIP logo

shoppinglist's Introduction

Shoppinglist

License: MIT Codacy Badge Build Status Code Health Coverage Status

The Shopping-list app is an application that allows users to record and keep track of things they want to shop or buy. It allows them to keeping track of their shopping carts.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

How to run this application

Install Python

​ You can find the documentation for python here

https://www.python.org/

Clone this repository

https://github.com/EinsteinCarrey/Shoppinglist.git

  1. Create a virtual environment

    ​ Use this guide.

    ​ Activate the virtual environment.

    1. Install project dependencies

    run the command pip -r install requirements.txt on the command line

Run the server

python app.py

Access the server on a browser

Open a browser and access this location.

http://127.0.0.1:5000/

Deployed on Heroku

http://einstein-shoppinglist.herokuapp.com

Usage

The shopping-list app provides an interactive Graphical User Interface which is easy to interact with

User create a user account

Sign Up

User can now login to the account

Login

User can signout

Sign-out

User can create and view shopping-lists

Shopping-lists

Running the tests

This code has been tested using three common python test libraries py.test, unittest and nosetest.

# Testing in nosetest
# Navigate to the project root directory
# run the following command
nosetests _tests

# Sample output
.........................................................
----------------------------------------------------------------------
Ran 57 tests in 0.459s

OK

Coding style tests

This application complies with the PEP8 convention for Python. To check compliance run the following command in your command line pep8 . Remember to exclude your virtual environment from the scope if it is in the project directory.

Deployment

This product is still at the development stage. I strongly discourage deploying it on a production server.

Built With

  • Flask - An open-source web microframework for python
  • pip - Python Dependency Manager
  • Bootstrap CSS - User Interface styling
  • JQuery - HTML document traversal, manipulation and event handling

Versioning

I use Semantic Versioning for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

shoppinglist's People

Contributors

einsteinnjoroge avatar

Watchers

 avatar  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.