Commit graph

12 commits

Author SHA1 Message Date
674aa90c49
Change vlang build image, use latest V ORM returning Results 2023-04-07 10:48:02 +02:00
e6f94b8e3b
Update editorconfig & formatting 2023-02-02 14:15:17 +01:00
bfd1d7c5ba
Add gitattributes 2023-02-02 14:00:00 +01:00
a011f54361
Minor tweaks & changes for latest vlang version 2023-02-01 21:00:00 +01:00
24a9cdc8cf
Restructuring, Only set CORS headers if origin header set 2023-01-15 20:00:00 +01:00
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