Commit graph

12 commits

Author SHA1 Message Date
Collin Duncan
9ccd8bf110 Changing how sessions are started and handled to fix issues with multiple reservation requests 2023-02-20 11:08:56 +01:00
Collin Duncan
08526f388e Updating reservation to round day diff down to allow for reservations up to 7.99 days (e.g. performing a reservation at 21.00 at 07.00 the week before) 2023-02-13 11:14:29 +01:00
Collin Duncan
8a69d5ed57 Adding some routers to http server that handle more requests to /reservations and /cron 2023-01-30 12:39:05 +01:00
Collin Duncan
28f60bec09 Updating errors and logging in a lot of places. Changing some static methods of Reservation to instance methods 2023-01-30 12:38:42 +01:00
Collin Duncan
49228d0454 Switching to use SQLite instead of MySQL 2023-01-28 10:51:46 +01:00
Collin Duncan
7324e76587 Updating reservation to use UUIDv4 as an id 2023-01-21 15:17:21 +01:00
Collin Duncan
e3b7785310 Renaming unit test for http server to match src file name 2023-01-21 15:14:40 +01:00
Collin Duncan
8a9d39dc56 Updating logger to display timestamp 2023-01-20 15:37:15 +01:00
Collin Duncan
048160be63 Adding dayjs module to allow timezone handling by default and replaced node_module with this module 2023-01-20 15:31:04 +01:00
Collin Duncan
f7a1a900fb Changing logger to work with AsyncLocalStorage to propagate logger to callee functions 2022-11-30 11:56:39 +01:00
Collin Duncan
f607679bab Adding cron job for running reservations; changing how the runner worked to only instantiate one runner and reuse it; lots of tests! 2022-11-29 22:51:28 +01:00
Collin Duncan
5cef34d0ef Splitting tests into unit and integration tests 2022-11-27 16:14:56 +01:00