Commit graph

16 commits

Author SHA1 Message Date
Collin Duncan
76b887faba
Fixing fetchByDate query 2023-05-23 15:09:16 -05:00
Collin Duncan
caf6370727
Converting date function from MySQL to SQLite syntax 2023-05-23 15:09:16 -05:00
Collin Duncan
878006271f
Prettier fixes 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
983c785029
Changing $ to ? for SQL prepared statement 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
dd46f61ecc
Updating SQL for saving reservation to DB 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
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
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
5cdbc3ebb0
Adding some docker setup for local testing 2023-05-23 15:09:12 -05:00
Collin Duncan
3247ca5315
Lots of changes to project structure
First integration of requester and scheduler workers
Added password hashing functions
Adding initial database integration
2023-05-23 15:09:11 -05:00
Collin Duncan
98bd540130
Updating runner to change to next month if needed; Added some more logging; Cleaning up some scripts 2023-05-23 15:09:10 -05:00
Collin Duncan
6aa46fbaa9
Updated reservationScheduler to properly input/output correct data format 2023-05-23 15:09:09 -05:00
Collin Duncan
4f76823102
Adding scheduling functions to prepare to schedule reservation requests in the future 2023-05-23 15:09:09 -05:00
Collin Duncan
743cc08887
Adding some pretty stuff
Reorganized code and added some unit tests for reservations and requests
2023-05-23 15:09:09 -05:00