Removes dependency on better-sqlite3's sync database access by abstracting data layer into an interface with async methods and implementing it with kysely instead.
This opens up the possibility of other implementations. It also proves the server can function against async storage without losing consistency, so I can now inject other asynchronous work, like possibly communicating with other horizontal nodes? Although generally I'm not sure that's the plan anyway.
Removes dependency on better-sqlite3's sync database access by abstracting data layer into an interface with async methods and implementing it with kysely instead.
This opens up the possibility of other implementations. It also proves the server can function against async storage without losing consistency, so I can now inject other asynchronous work, like possibly communicating with other horizontal nodes? Although generally I'm not sure that's the plan anyway.