Commit Graph
12 Commits
Author SHA1 Message Date
Gregory Campbell 1776e011f2 Bug fix preventing deleteOneMsg from ever responding with 404 as well as adding the unit test for deleteOneMsg 404 response 2021-11-25 21:40:34 -05:00
Gregory Campbell b0d449d012 Code cleanup 2021-11-25 21:34:43 -05:00
Gregory Campbell 4db3cdde29 Updated controller logic and greatly expanded on unit tests even though they timeout running through github actions 2021-11-25 16:07:40 -05:00
Gregory Campbell 25cc71f485 Updated controller logic and reworked unit testing 2021-11-25 15:25:29 -05:00
Gregory Campbell 1933391ed3 Added HTTP codes to all API responses 2021-11-25 13:56:55 -05:00
Gregory Campbell 98308642aa Removed repeated variables 2021-11-24 23:14:18 -05:00
Gregory Campbell 70b5a32da1 Replaced updateMsg with a proper implmentation of updating a single value within an object in a database 2021-11-24 23:09:58 -05:00
Gregory Campbell 20a50a63ba Removed unused variable from function call 2021-11-24 22:10:15 -05:00
Gregory Campbell 07ea8331cc Updated error output in controllers 2021-11-24 21:59:31 -05:00
Gregory Campbell d6c968a539 Added updateMsg to be able to update messages that already exist using PUT 2021-11-24 21:57:07 -05:00
Gregory Campbell 1ee2b19c08 Updated newMsg to post a new message when given id and message parameters 2021-11-24 21:45:25 -05:00
Gregory Campbell ba98c76e23 Complete swap from express and aws to express and heroku due to the much smaller learning curve needed for a herkou build 2021-11-23 15:01:58 -05:00