[x] expose a postgresjs connection as sqlConnection. Connects to the test database in a jest environment, and to the regular (development) database otherwise
[x] create a WithSQL wrapper type for options objects throughout the server
[x] test database connection with a simple select query
Miscallaneous
[x] rename server/lib->server/src
[x] enforce strictNullChecks for server-side code (will probably want the same same for client-side)
[x] rename container to connect to in test-back npm script
Changes:
postgresjs
connection assqlConnection
. Connects to the test database in a jest environment, and to the regular (development) database otherwiseMiscallaneous
server/lib
->server/src
test-back
npm script