Commit graph

40 commits

Author SHA1 Message Date
Collin Duncan
730a331bfc Slowing down cron for now to run every ten minutes 2023-01-29 14:35:42 +01:00
Collin Duncan
807ee0a8ca Adding some more error logging and handling as well as a circuit breaker to stop cron from continuously fucking up 2023-01-29 14:34:39 +01:00
Collin Duncan
49228d0454 Switching to use SQLite instead of MySQL 2023-01-28 10:51:46 +01:00
Collin Duncan
7de7d148c8 Updating SQL for saving reservation to DB 2023-01-21 16:01:38 +01:00
Collin Duncan
7324e76587 Updating reservation to use UUIDv4 as an id 2023-01-21 15:17:21 +01:00
Collin Duncan
c2a5051248 Changing cron to run at every minute in 7th hour 2023-01-21 15:14:58 +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
bc7f2a3d55 Updating Dockerfile to work properly with puppeteer 2023-01-20 12:33:50 +01:00
Collin Duncan
9cc3f3369f Prettiering 2023-01-20 09:52:28 +01:00
Collin Duncan
8e85a34966 Removing rollup and relying on tsc to make builds. Also updated Docker to have a working development version 2023-01-20 09:38:50 +01:00
Collin Duncan
1699b936ef Fixing SQL issues with table creation query 2023-01-20 09:36:37 +01:00
Collin Duncan
0f43259c3c Passing in MYSQL_HOST during MySQL connection configuration 2023-01-20 09:36:05 +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
a081616746 Fix issue with weird semicolon thing 2022-11-30 09:58:37 +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
5c762aa3ad Removing the weird semicolon-infront-of-typed-variable thing! 2022-11-29 22:50:49 +01:00
Collin Duncan
b7007be031 Obfuscating password from logs 2022-11-27 16:09:30 +01:00
Collin Duncan
f5ee6bf12e Spliting out server code, adding unit test for server 2022-11-27 15:59:20 +01:00
Collin Duncan
f125aef8a1 Moving around some files so that it is a bit more clear and using ts-jest for jest 2022-11-21 19:07:43 +01:00
Collin Duncan
e25b97072a Changing error message on route not found 2022-11-21 18:53:42 +01:00
Collin Duncan
3cd22e0e3c Adding some docker setup for local testing 2022-11-21 18:50:59 +01:00
Collin Duncan
01c56ef5ef Removing redundant file 2022-11-07 12:41:32 +01:00
Collin Duncan
b97eafedff Updating node version, improving build process and adding required modules to dev dependencies 2022-11-07 11:44:57 +01:00
Collin Duncan
6307445659 Moving server file 2022-11-04 14:59:41 +01:00
Collin Duncan
9810729617 Removing babel and upgrading rollup to v3 2022-11-04 14:59:23 +01:00
Collin Duncan
346147d04a Fixing some errors due to changing reservation requests 2022-10-23 12:02:44 +02:00
Collin Duncan
e3ffacb410 Lots of changes to project structure
First integration of requester and scheduler workers
Added password hashing functions
Adding initial database integration
2022-10-23 11:55:47 +02:00
Collin Duncan
28606529ee
Updating runner to change to next month if needed; Added some more logging; Cleaning up some scripts 2022-03-29 22:41:44 +02:00
Collin Duncan
61377ea4a8
some naming/organization changes 2022-02-11 13:20:15 +01:00
Collin Duncan
326c1eec58
removing traces of aws and cleaning up workers/tests 2022-02-10 17:27:35 +01:00
Collin Duncan
42c8dfe776
Fixing issues with rollup and running locally 2022-02-01 16:48:50 +01:00
cgduncan7
055c64c5a7
Adding logger; moving lambdas to separate dirs and including rollup to create distributables; finished up some unit tests 2021-11-28 19:40:16 +01:00
cgduncan7
f41ba97edf
Updated reservationScheduler to properly input/output correct data format 2021-11-28 13:06:52 +01:00
cgduncan7
2ddfc5c6b7
Adding scheduling functions to prepare to schedule reservation requests in the future 2021-11-27 13:11:09 +01:00
Collin Duncan
5697641317
Updating request to focus on single request, started working on reservationScheduler 2021-11-24 15:38:58 +01:00
Collin Duncan
a18e100d34
Adding some pretty stuff
Reorganized code and added some unit tests for reservations and requests
2021-11-24 00:00:22 +01:00
Collin Duncan
a50f40f16c
Small bug fix in reservation loop and prettier/eslint 2021-11-17 14:17:25 +01:00
Collin Duncan
7689ea1250
Updating README and local execution 2021-11-15 12:32:49 +01:00
Collin Duncan
574ffede97
Initial commit with first working version 2021-11-15 11:28:39 +01:00