Commit Graph
30 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 0c35fa1ddc Cleaned up some indentation 2021-11-25 21:23:42 -05:00
Gregory Campbell 3ce1a5a69b Fleshed out README.md 2021-11-25 21:23:31 -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 c4c658ea7b Extended timeout of testing so it can pass when run through github actions 2021-11-25 11:12:25 -05:00
Gregory Campbell 8fa225fd48 unit test actions uses typo fixed 2021-11-25 11:10:19 -05:00
Gregory Campbell d412793823 Added github action for unit tests 2021-11-25 11:07:45 -05:00
Gregory Campbell 4af4f90a72 Implemented very basic (and poorly written) unit tests that test using the live database 2021-11-25 10:48:28 -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 7dfde1842f Removed unnecessary comment 2021-11-24 23:08:31 -05:00
Gregory Campbell 20a50a63ba Removed unused variable from function call 2021-11-24 22:10:15 -05:00
Gregory Campbell 5029e2e79b Cleaned up router format to make parameters easier to read and print 2021-11-24 22:03:37 -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 3dbdf84057 Combined actions into one sequential workflow 2021-11-23 23:20:00 -05:00
Gregory Campbell 2be708601c Attempted fix for eslint and removed prettier linting to make lint job simpler for now 2021-11-23 23:12:05 -05:00
Gregory Campbell 7279542922 Added lint check in Actions 2021-11-23 22:55:48 -05:00
Gregory Campbell 467c75b55a Added basic logging output for debugging locally 2021-11-23 22:47:32 -05:00
Gregory Campbell 0786eeb492 Changed branch name that action is ran on from master to main 2021-11-23 21:52:15 -05:00
Gregory Campbell da3662abc4 Added github action so heroku is deployed when a change is pushed to main branch 2021-11-23 21:49:24 -05:00
Gregory Campbell fbb1893ad5 Syntax fix and removal of mongodb depricated warnings 2021-11-23 15:15:16 -05:00
Gregory Campbell bd7ffcfc7a Updated static index page 2021-11-23 15:07:19 -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
Gregory Campbell 58de36beb0 Created basic RESTapi to work with aws 2021-11-22 23:21:52 -05:00
Gregory CampbellandGitHub 5bc6268e37 Initial commit 2021-11-22 18:13:52 -05:00