Commit Graph
14 Commits
Author SHA1 Message Date
Alexander Holliday 477cad7cc9 Feat/monitor endpoint refactor (#463)
* Moved all methods to modules

* removed old mongoDB file

* Refactored endpoints to take query params, removed duplicate methods, updated routes, updated Client queries

* Added comment

* Add model differentiation

* Add sort order, fix minor bug, add validation for query params
2024-07-26 18:56:39 -07:00
Alex Holliday 12e85aed03 Fixed non functioning code 2024-07-12 10:24:46 -07:00
Alex Holliday 10c8751c6b Added configured axios instance with 401 interceptor, refactored all requests to use axios instance 2024-07-09 11:45:14 -07:00
Alex Holliday 7a066733da Added async thunk for creating monitors, connected CreateMonitor to backend 2024-06-27 15:27:32 -07:00
Alex Holliday 8eae283507 Fixed error handling bug in redux slices 2024-06-25 11:14:16 -07:00
Alex Holliday 5beaa8dfe1 Merge remote-tracking branch 'upstream/master' into feat/protected-routes 2024-06-24 12:46:12 -07:00
Alex Holliday 3c8de47c5f Added clearing monitor state 2024-06-24 12:00:49 -07:00
Alex Holliday 6c6070baae iniital commit 2024-06-24 11:56:25 -07:00
Alex Holliday 2f1053bd05 Iniital commit 2024-06-21 11:08:31 -07:00
Alex Holliday 2ce8de5304 Implemented async thunk for getMonitorsByUserId 2024-06-20 13:50:31 -07:00
Alex Holliday b4cee7e065 Refacoted API url 2024-06-04 14:18:25 -07:00
Alex Holliday 9926f60c09 Refactored to use thunk for Axios request 2024-06-04 13:32:17 -07:00
Alex Holliday fbe357091a Revised initial state for monitors 2024-06-04 12:40:05 -07:00
Alex Holliday ccb61004bb Set up Redux Toolkit, Added redux demo to /demo route 2024-06-04 12:15:35 -07:00