Commit graph

7 commits

Author SHA1 Message Date
d38cb1f9db
Handle CORS, Additional error cases, Simplified database 2023-01-12 19:34:28 +01:00
859ac51f1a
Formatting again using vfmt 2023-01-11 19:08:24 +01:00
318b1d3dc8
Formatting, Simplified status, Return inserted score 2023-01-11 19:00:00 +01:00
20fecb22da
Fix typo and use correct sqlite package 2023-01-10 19:00:00 +01:00
7749b7c159
Several improvements
* Make Dockerfile build and run correctly on alpine, fix missing sqlite
* Make config shared to avoid reading from file on each request
* Correctly handle Signals to gracefully stop database connection and
  to speed up shutdown, relevant for docker deployment
* Correctly check for sqlite error on table creation
2023-01-10 11:00:00 +01:00
c03f949344
Add compose and bake.hcl 2023-01-09 22:00:00 +01:00
ba7938dcf4
Initial commit 2023-01-07 13:00:00 +01:00