Commit Graph

53 Commits

Author SHA1 Message Date
Alex Holliday f97aa1ca8c Return user and Token instead of decoding token. Added transform to not store image in redux store 2024-07-03 12:20:30 -07:00
Alex Holliday ec63281202 Return admin account status on check 2024-07-02 10:45:38 -07:00
Alex Holliday d7d6effdda Add route and controller 2024-07-02 10:38:02 -07:00
Alex Holliday 61a059bf21 Added token TTL env variable with default of 2 hours 2024-06-24 14:12:23 -07:00
Alex Holliday 59562b10c9 Improved network service error handling 2024-06-18 11:42:25 -07:00
Alex Holliday 771cce98b5 Checks now inserted into db during monitor status check 2024-06-17 13:52:20 -07:00
Alex Holliday 6801d066a1 Added delete cascade for Montiors. Alerts and Checks now also deleted 2024-06-17 12:08:41 -07:00
Alex Holliday 5da22f4403 Refactored hardcoded error messages to util file. Added logging to job queue 2024-06-14 13:45:45 -07:00
Alexander Holliday f3de5ce381 Merge pull request #135 from bluewave-labs/feat/http-https-status
Implemented HTTP(s) Request, added add and delete to and from job queue, resolves #134
2024-06-14 12:58:55 -07:00
Alex Holliday c8bcc59b52 Added docker compose, fixed all file paths, updated readme, fixed Async function bcrypt compare 2024-06-14 12:07:34 -07:00
Alex Holliday a9ddb27218 Implemented HTTP(s) Request, added add and delete to and from job queue 2024-06-13 13:05:41 -07:00
Alex Holliday 08565c9eda Simplified form control in Login and Register. Fixed registration bug. Throw better errors 2024-06-12 13:30:56 -07:00
Alex Holliday 6ac5f3ab10 Added server side validation 2024-06-11 14:46:39 -07:00
Alex Holliday a8af106606 Connected set new password to backend 2024-06-11 14:18:20 -07:00
Alex Holliday d0ec39027b Removed recovery token from validate token response payload 2024-06-11 12:02:35 -07:00
Alex Holliday 324b52adb3 Removed token from recovery request response payload 2024-06-11 12:00:58 -07:00
Alex Holliday 105852aed2 Added frontend howst ENV, updated readme 2024-06-11 11:41:57 -07:00
Alex Holliday e576514ff8 Added reset password endpoint, updated readme 2024-06-11 10:36:56 -07:00
Alex Holliday 0eda4ceb77 Added route for validating recovery token 2024-06-10 16:07:52 -07:00
Alex Holliday 276dadab66 Added recovery Request route, controller, and DB operations 2024-06-10 15:54:45 -07:00
Alex Holliday 31a18d042d Implemented registering 2024-06-06 13:10:13 -07:00
veyselboybay 4a9fc8fdb9 added email service in register controller, updated read me 2024-06-05 18:30:23 -04:00
Alex Holliday 88b0b0f97c Added queue service, Added controller for testing purposes 2024-06-05 12:29:01 -07:00
Alex Holliday 879d2337b6 Added alert DB operations 2024-05-29 12:12:56 -07:00
Alex Holliday 6437e8e9bf implemented DB operations for Checks 2024-05-29 10:59:29 -07:00
Alex Holliday fdb8c6b20a Finished routes, validation, and scaffold DB 2024-05-28 13:02:19 -07:00
Alex Holliday e90073da24 Add validation to createAlert 2024-05-28 11:39:55 -07:00
Alex Holliday 7e9f8d9d29 Implemented routes 2024-05-28 11:34:25 -07:00
Alex Holliday db13b71157 Merge branch 'master' into feat/alert-routes 2024-05-28 11:17:42 -07:00
Alex Holliday 7430a6eb48 Started work on alert routes and controller 2024-05-28 11:17:03 -07:00
Alex Holliday bd4d442781 Merge branch 'master' into feat/check-routes 2024-05-27 15:38:12 -07:00
Alex Holliday 1e398d9153 Added route and DB scaffolds 2024-05-27 13:51:51 -07:00
Alex Holliday 78abdd7f70 Fixed bug in error handler, finished implementing update user endpoint 2024-05-27 12:03:32 -07:00
Alex Holliday d84a0f9c87 Started update user route 2024-05-27 11:57:25 -07:00
Alex Holliday 950222f94e Implemented error handling middleware 2024-05-27 10:47:14 -07:00
Alex Holliday ef8867658e Removed package-lock.json from root 2024-05-24 13:44:42 -07:00
Alex Holliday 54c94879d7 Changed delete status code to 200 to allow for consistent API response, Updated docs to reflect this 2024-05-22 14:43:07 -07:00
Alex Holliday f4b0034281 Added new endpoints to readme, added cURL and Sample respones to existing endpoint docs, fixed minor bugs discovered during documentation 2024-05-22 14:38:47 -07:00
Alex Holliday a7de58c99b Refactored service name, resolves #41 2024-05-22 11:49:14 -07:00
Alex Holliday ddd7152683 Removed old comments 2024-05-22 11:42:29 -07:00
Alex Holliday 073f8b2e30 Added verification middleware, protected monitor routes 2024-05-22 11:38:36 -07:00
Alex Holliday b1afdaa776 Added JWT to registration and login 2024-05-22 10:48:58 -07:00
Alex Holliday c4dc57b9be Updated status codes, added edit monitor endpoint 2024-05-21 13:52:28 -07:00
Alex Holliday e7cd1ae6ab Added create and delete monitor routes, Added JSDocs to MongoDB 2024-05-21 11:23:39 -07:00
Alex Holliday ddc4021232 Added JSDocs for monitor controller, Updated readme, Added DB_TYPE environtmental variable for switching between DB types 2024-05-21 10:11:16 -07:00
Alex Holliday e7a58f2756 Added login route, updated readme 2024-05-15 12:16:04 -07:00
veyselboybay ca33fcae91 update on joi schema, added logger docs, and updated user model 2024-05-14 23:15:29 -04:00
Alex Holliday a4a61695b0 Updated gitignore to ignore log files, Refactored Authcontroller to use DB interface, Added Try/Catch to validation to catch uncaught error, Added username optional validation to Joi so it expects a username 2024-05-14 11:12:22 -07:00
Alex Holliday 8cc92e6c40 Implemented MongoDB example db, updated documentation 2024-05-13 14:21:27 -07:00
Alex Holliday 49a11b5abb Added some comments RE fake database 2024-05-10 14:03:36 -07:00