Commit Graph

10 Commits

Author SHA1 Message Date
Manuel bfd1d7c5ba
Add gitattributes 2023-02-02 14:00:00 +01:00
Manuel a011f54361
Minor tweaks & changes for latest vlang version 2023-02-01 21:00:00 +01:00
Manuel 24a9cdc8cf
Restructuring, Only set CORS headers if origin header set 2023-01-15 20:00:00 +01:00
Manuel d38cb1f9db
Handle CORS, Additional error cases, Simplified database 2023-01-12 19:34:28 +01:00
Manuel 859ac51f1a
Formatting again using vfmt 2023-01-11 19:08:24 +01:00
Manuel 318b1d3dc8
Formatting, Simplified status, Return inserted score 2023-01-11 19:00:00 +01:00
Manuel 20fecb22da
Fix typo and use correct sqlite package 2023-01-10 19:00:00 +01:00
Manuel 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
Manuel c03f949344
Add compose and bake.hcl 2023-01-09 22:00:00 +01:00
Manuel ba7938dcf4
Initial commit 2023-01-07 13:00:00 +01:00