Commit Graph

18 Commits

Author SHA1 Message Date
BBaoVanC 37ffa1d346
Reformat code 2020-10-19 10:41:40 -05:00
BBaoVanC ba9bef5c8f
Gracefully catch IntegrityError when a database constraint is violated 2020-10-08 10:10:11 -05:00
BBaoVanC 91c2017759
Modify create_location to return 'api_endpoints' (plural) 2020-10-07 10:33:47 -05:00
BBaoVanC 8e44280e7d
Revert "Change searching to be case insensitive"
This reverts commit 97373e0ae2.
2020-10-07 10:15:53 -05:00
BBaoVanC 97373e0ae2
Change searching to be case insensitive 2020-10-06 19:56:32 -05:00
BBaoVanC b809edd49d
Clean up docstrings 2020-10-05 19:29:07 -05:00
BBaoVanC 4bb70b207e
Finish API 2020-10-05 19:22:24 -05:00
BBaoVanC 8c635adcc7
Reformat to follow PEP standards 2020-10-05 01:07:22 -05:00
BBaoVanC 8ae91f7ffa
Update all routes to use SQLAlchemy 2020-10-05 01:00:50 -05:00
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 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 09730acfcc
Rename invman.py to webapi.py 2020-09-24 15:51:43 -05:00