Code Monkey home page Code Monkey logo

store-manager-app's Introduction

Store-Manager-App

Build Status Coverage Status Maintainability Codacy Badge

About

Store Manager is a web application that helps Store-owners manage sales, product inventory records and staff. It also allows staff allocated authority by the Store-owner, to login and start Shopping Carts for customers, interract with the product inventory and make sale records that can be viewed by the owner wherever they are.

Dev Setup

To get the project, clone it using Github Repo. Also the current App is on github pages

This is app is hosted on heroku.

Heroku Endpoints

Functionality HTTP Method Endpoint
index / welcome /
new account POST /api/v1/user
update account PUT /api/v1/user/id
delete account DELETE /api/v1/user/id
add new product POST /api/v1/products
modify product PUT /api/v1/products/id
delete product DELETE /api/v1/products/id
add a sale order POST /api/v1/sales
view a sale order GET /api/v1/sales/id
view all sale records GET /api/v1/sales

Functionality

Function Access
Admin registeration admin
User login store attendant and admin
Add accounts for store attendants admin
Add products admin
Update store attendant's accounts admin
Delete store attendant's accounts admin
Update products admin
Delete product admin
View all products store attendant and admin
Add sale records store attendant
View all users' sale records admin
View a store attendant sale records store attendant and admin

Documentation

The documentation can be found here

Prerequisites

Web browser
Internet

gh-pages

Note

  • admin can be registered only if non exists
  • Current admin:
   username: jonnie
   password: Andela8

Installation

  • Clone project to your local machine
  $ git clone https://github.com/codjoero/Store-Manager-App.git
  • Run through the following settings
    $ cd Store-Manager-App
    $ pip install virtualenv
    $ virtualenv env
    $ . env/bin/activate (windows: $ source env/Scripts/activate)
    $ pip install -r requirements.txt
    $ python3 run.py

Tests

   $ . env/bin/activate (windows: $ source env/Scripts/activate)
   $ pip install pytest
   $ python3 -m pytest

Tech used

App built with the following tech:-

  • HTML5
  • CSS3
  • Javascript
  • Python/Flask
  • Virtualenv

To contribute to this App

Create a branch from feature, make a PR and I will review and merge if possible.

Author

Ronald Nsereko

Acknowledgements

Thanks to the developers at Andela. And to all that have made this development process possible, you're heros to me.

License

Andela Opensource

store-manager-app's People

Contributors

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