Commit graph

64 commits

Author SHA1 Message Date
0cba7297d4 I'm not quite sure where this is going now.
DI definitely helps, but we're going to have to figure out a pattern for 
this.

It's either going to have to be repository or active record I think
2019-05-23 22:48:51 +01:00
ed256c1e76 Update TTNAppServer to use awilix DI container 2019-05-23 22:39:10 +01:00
0d3edd0a93 Get dependency injection (basically) working. Hooray! 2019-05-23 22:26:31 +01:00
15a5bf9d03 Autoload repositories as required 2019-05-23 21:01:32 +01:00
afec88082b Start working on dependency injection, but it's complex & not finished yet. 2019-05-23 20:10:06 +01:00
5b4ffba112 Add comment 2019-05-22 19:58:46 +01:00
087c7e23c1 Add missing column 2019-05-22 19:58:06 +01:00
aaee7880fb db template: fix syntax 2019-05-22 18:05:40 +01:00
99bbb34843 Start creating the database structure, but it's unfinished. 2019-05-22 18:04:46 +01:00
d2a6170864 Create initial better-sqlite3 db wrapper module 2019-05-22 12:28:57 +01:00
391f066521 Add an id generator helper 2019-05-20 17:06:20 +01:00
0a05e00c11 Create initial model classes 2019-05-20 14:48:41 +01:00
fcceb7de46 Refactor ansi to be a global instance. 2019-05-20 14:38:20 +01:00
d6e65ca294 Move node serve stuff to subdirectory 2019-05-20 12:21:14 +01:00