Skip to content

Commit

Permalink
Merge 0951e76 into 384f5a3
Browse files Browse the repository at this point in the history
  • Loading branch information
mugoh authored Oct 27, 2018
2 parents 384f5a3 + 0951e76 commit cd80aad
Show file tree
Hide file tree
Showing 79 changed files with 2,111 additions and 4,109 deletions.
1 change: 1 addition & 0 deletions .coverage
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!coverage.py: This is a private format, don't read it directly!{"lines":{"/root/Documents/save_me/storeManager/app/api/v1/__init__.py":[1,2,3,4,7,8,10,11,12,13,14,16,17,18,19,20,21,23,24,29,31],"/root/Documents/save_me/storeManager/app/api/v1/views/__init__.py":[1],"/root/Documents/save_me/storeManager/app/api/v1/views/productv.py":[1,2,3,4,7,8,10,13,18,26,27,28,29,30,31,34,11,37,38,45,51,82,83,90,91,131,85,86,88,47,40,41,43,93,94,95,96,99,100,101,104,105,107,108,111,112,113,116,132,135,138,118,119,120,121,122,123,126,14,15,16,128,49,21,52,53,54,57,58,61,62,65,66,69,71,73,74,78,79],"/root/Documents/save_me/storeManager/app/api/v1/models/__init__.py":[1],"/root/Documents/save_me/storeManager/app/api/v1/models/products.py":[2,3,4,5,6,7,8,9],"/root/Documents/save_me/storeManager/app/api/v1/views/salesv.py":[1,2,3,4,7,8,10,13,18,25,11,28,29,30,31,32,33,34,35,39,40,47,48,55,56,57,64,65,112,59,60,62,50,42,43,45,67,68,69,70,71,74,75,76,78,79,80,81,83,84,85,87,88,89,91,93,94,96,113,116,119,98,99,100,101,102,103,104,105,107,14,15,16,109,52,21],"/root/Documents/save_me/storeManager/app/api/v1/models/sales.py":[2,3,7,8,9,10,11,12,13,14],"/root/Documents/save_me/storeManager/app/api/v1/views/userv.py":[1,2,3,4,5,8,11,12,14,17,22,27,15,30,40,41,42,45,46,47,48,51,52,54,55,58,59,60,64,65,109,110,112,119,130,133,134,157,158,172,173,186,187,190,191,198,204,205,66,67,69,71,31,34,37,73,78,82,86,87,91,92,93,94,95,96,98,99,18,19,20,100,135,136,137,139,113,114,115,117,140,143,120,121,122,124,127,144,145,146,149,150,151,88,103,141,154,32,33,79,80,74,76,199,193,194,196],"/root/Documents/save_me/storeManager/app/api/v1/models/users.py":[1,4,5,12,17,18,14,6,7,8,9,10]}}
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ install:

script:
- coverage run -m pytest
- py.test --cov=project
- py.test --cov=app/api/v1 -v

after_success:
- coveralls

script:
- pytest
674 changes: 0 additions & 674 deletions LICENSE

This file was deleted.

1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn run:app --preload --workers 4
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,28 @@
[![Build Status](https://travis-ci.com/hogum/storeManager.svg?branch=master)](https://travis-ci.com/hogum/storeManager)
[![Coverage Status](https://coveralls.io/repos/github/hogum/storeManager/badge.svg?branch=project-app)](https://coveralls.io/github/hogum/storeManager?branch=project-app)


[![Code Climate](https://codeclimate.com/github/codeclimate/codeclimate/badges/gpa.svg)](https://codeclimate.com/github/hogum/storeManager)

[![GitHub issues](https://img.shields.io/github/issues/hogum/storeManager.svg?style=for-the-badge)](https://github.com/hogum/storeManager/issues)

A web application to help store managers maintain their inventories and manage sale records.


Try on Heroku: https://store-man90.herokuapp.com/stman/api/v1.0/products

/stman/api/v1.0/sales
GET sales
POST sale

/stman/api/v1.0/sales/<int:sales_record>
GET sale
PUT sale
DELETE sale

/stman/api/v1.0/products
GET products, POST product

stman/api/v1.0/products/id
GET product, PUT, DELETE

[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
64 changes: 0 additions & 64 deletions UI/add-item.html

This file was deleted.

212 changes: 0 additions & 212 deletions UI/admin-home.html

This file was deleted.

Loading

0 comments on commit cd80aad

Please sign in to comment.