Commit graph

12 commits

Author SHA1 Message Date
Collin Duncan
fa99ad7941
Changing how sessions are started and handled to fix issues with multiple reservation requests 2023-05-23 15:09:18 -05:00
Collin Duncan
300ebe9e98
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-05-23 15:09:17 -05:00
Collin Duncan
921aa9c65c
Adding some routers to http server that handle more requests to /reservations and /cron 2023-05-23 15:09:15 -05:00
Collin Duncan
6dfa37272e
Updating errors and logging in a lot of places. Changing some static methods of Reservation to instance methods 2023-05-23 15:09:15 -05:00
Collin Duncan
0c6c9df93f
Switching to use SQLite instead of MySQL 2023-05-23 15:09:14 -05:00
Collin Duncan
bf0852d541
Updating reservation to use UUIDv4 as an id 2023-05-23 15:09:14 -05:00
Collin Duncan
e8336291eb
Renaming unit test for http server to match src file name 2023-05-23 15:09:13 -05:00
Collin Duncan
f8747ea045
Updating logger to display timestamp 2023-05-23 15:09:13 -05:00
Collin Duncan
09e4b3a1b8
Adding dayjs module to allow timezone handling by default and replaced node_module with this module 2023-05-23 15:09:13 -05:00
Collin Duncan
02327fc734
Changing logger to work with AsyncLocalStorage to propagate logger to callee functions 2023-05-23 15:09:13 -05:00
Collin Duncan
69249a11dc
Adding cron job for running reservations; changing how the runner worked to only instantiate one runner and reuse it; lots of tests! 2023-05-23 15:09:12 -05:00
Collin Duncan
0fe86542a1
Splitting tests into unit and integration tests 2023-05-23 15:09:12 -05:00