Skip to content

Store manager automates goods procurement process, receipt of goods, stock book entry, bill passing, issue of material for departments, stock book .

Notifications You must be signed in to change notification settings

BagzieGracious/StoreManagerApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StoreManagerApi

Build Status Maintainability Codacy Badge Coverage Status

StoreManagerApi

Store Manager is a web application that helps store owners manage sales and product inventory records. This application is meant for use in a single store.

Application Features

  • Store attendant can search and add products to buyer’s cart.
  • Store attendant can see his/her sale records but can’t modify them.
  • App should show available products, quantity and price.
  • Store owner can see sales and can filter by attendants.
  • Store owner can add, modify and delete products.

A user can perform the following :

As a store attendant:

  • Store attendant can search and add products to buyer’s cart.
  • Store attendant can see his/her sale records but can’t modify them.

As Store Owner:

  • Store owner can see sales and can filter by attendants
  • Store owner can add, modify and delete products

Use the following endpoints to perform the specified tasks

EndPoint                                           | Functionality
------------------------                           | ----------------------
Get /products/                                     | Fetch all products
Get /products/<product_id>                         | Fetch specific product
POST /products/                                    | Create a product
GET /sales/                                        | Retrieves all sales records
GET /sales/<sales_id>                              | Retrieve a specific sales record
POST /sales/                                       | Create a sales record

Getting started with the app

Technologies used to build the application

Installation

Create a new directory and initialize git in it. Clone this repository by running

$ git clone https://github.com/BagzieGracious/Store-Manager-Api-.git

Create a virtual environment. For example, with virtualenv, create a virtual environment named venv using

$ virtualenv venv

Activate the virtual environment

$ cd venv/scripts/activate.bat

Install the dependencies in the requirements.txt file using pip

$ pip install -r requirements.txt

Start the application by running

$ python run.py

Test your setup using a client app like postman

About

Store manager automates goods procurement process, receipt of goods, stock book entry, bill passing, issue of material for departments, stock book .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages