Commit Graph

20 Commits

Author SHA1 Message Date
b809edd49d
Clean up docstrings 2020-10-05 19:29:07 -05:00
3d7edab395
Add trailing newline to README.md 2020-10-05 19:26:35 -05:00
951673926b
Add postgres.ini.default 2020-10-05 19:25:03 -05:00
4bb70b207e
Finish API 2020-10-05 19:22:24 -05:00
8c635adcc7
Reformat to follow PEP standards 2020-10-05 01:07:22 -05:00
8ae91f7ffa
Update all routes to use SQLAlchemy 2020-10-05 01:00:50 -05:00
af9cdf850c
Begin rewrite from psycopg2 to SQLAlchemy 2020-10-04 21:12:09 -05:00
ec2974eef3
Remove old commented-out code 2020-10-04 15:05:10 -05:00
e0f648383c
Add description to block comment in webapi.py 2020-10-04 11:20:08 -05:00
7bdd4b5cdd
Remove versiontest.py 2020-10-04 11:19:53 -05:00
5a44b65bf3
2020-10-02 night 2020-10-02 22:16:01 -05:00
1ce7954476
Add some more routes to webapi.py 2020-10-02 08:52:58 -05:00
51ebe81bba
Add get locations and get current quantities API endpoints 2020-10-01 21:52:59 -05:00
fe898cde00
Save work for 9/28/2020 2020-09-28 21:27:08 -05:00
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
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
09730acfcc
Rename invman.py to webapi.py 2020-09-24 15:51:43 -05:00
32798b1e0a
Add invman.py and storage.py 2020-09-23 21:31:35 -05:00
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