Commit Graph

31 Commits

Author SHA1 Message Date
37ffa1d346
Reformat code 2020-10-19 10:41:40 -05:00
3060a9fafb
Write README.md 2020-10-16 18:56:31 -05:00
175c464f66
Add purchases and uses pages 2020-10-08 23:49:14 -05:00
fa1361e13f
Change quantities page to have a dedicated reset button 2020-10-08 23:48:51 -05:00
ba9bef5c8f
Gracefully catch IntegrityError when a database constraint is violated 2020-10-08 10:10:11 -05:00
91c2017759
Modify create_location to return 'api_endpoints' (plural) 2020-10-07 10:33:47 -05:00
8e44280e7d
Revert "Change searching to be case insensitive"
This reverts commit 97373e0ae2.
2020-10-07 10:15:53 -05:00
97373e0ae2
Change searching to be case insensitive 2020-10-06 19:56:32 -05:00
11f21020b8
Add Visual Studio Code to .gitignore 2020-10-06 16:18:51 -05:00
df6e64afc3
Add search box for location to quantities page 2020-10-05 23:16:36 -05:00
82f37f4b25
Add products and quantities pages 2020-10-05 20:10:43 -05:00
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