summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-20Adjust Flask server to new database methodsFrederick Yin
2021-10-20Move database utilities to database.pyFrederick Yin
It may not be a good idea to scatter database utilities around utils.py. With this in mind, I moved them to database.py as static methods under the class Database.
2021-10-20Move container style to top in cssFrederick Yin
2021-10-20More work on web consoleFrederick Yin
2021-10-19Add README and LICENSEFrederick Yin
2021-10-19echo "*.lock" >> .gitignoreFrederick Yin
2021-10-19Include sample DB fileFrederick Yin
2021-10-19Flask web server prototypeFrederick Yin
2021-10-19Database lockFrederick Yin
Is a lockfile named "$DATABASE_NAME.lock". `Database._write()` prevents race conditions by enforcing the lock, and waiting until a previous lock is released.
2021-10-19No more __main__ until further noticeFrederick Yin
2021-10-19Add .gitignoreFrederick Yin
2021-10-19Basic database operationsFrederick Yin
Define database format. Implement basic I/O operations and take_away / give_back methods.