Commit Graph

14 Commits

Author SHA1 Message Date
bbaovanc af9cdf850c Begin rewrite from psycopg2 to SQLAlchemy 2020-10-04 21:12:09 -05:00
bbaovanc ec2974eef3 Remove old commented-out code 2020-10-04 15:05:10 -05:00
bbaovanc e0f648383c Add description to block comment in webapi.py 2020-10-04 11:20:08 -05:00
bbaovanc 7bdd4b5cdd Remove versiontest.py 2020-10-04 11:19:53 -05:00
bbaovanc 5a44b65bf3 2020-10-02 night 2020-10-02 22:16:01 -05:00
bbaovanc 1ce7954476 Add some more routes to webapi.py 2020-10-02 08:52:58 -05:00
bbaovanc 51ebe81bba Add get locations and get current quantities API endpoints 2020-10-01 21:52:59 -05:00
bbaovanc fe898cde00 Save work for 9/28/2020 2020-09-28 21:27:08 -05:00
bbaovanc 2cc2a3917a Add more routes to webapi.py
- Add API endpoint to create a new brand
- Add API endpoint to create a new item
- Add API endpoint to create a new location
- Add API endpoint to increment the amount of one item
2020-09-24 20:57:28 -05:00
bbaovanc d0abbef8d1 Add more functions to storage.py
- Add get_locations()
- Add init_location() to create a new blank location
- Add increment_amount() to increment the amount of one item
- Remove set_brand_key() since it will be replaced by separate functions
  for each property you can set
2020-09-24 20:31:40 -05:00
bbaovanc 09730acfcc Rename invman.py to webapi.py 2020-09-24 15:51:43 -05:00
bbaovanc 32798b1e0a Add invman.py and storage.py 2020-09-23 21:31:35 -05:00
bbaovanc 007c4ec239 Add inventory.json to .gitignore 2020-09-23 21:30:19 -05:00
bbaovanc 1f045c1358 Initial commit 2020-09-23 17:59:11 -05:00