Create a copy of your monolithic web application ✅
Decide the resources (verbs + routes) your API will respond to ✅ Your API is well designed in the controller; in the future, you could also document your route design in README.md!
Create representers for your domain entities/values ✅
Update input validation and service objects 🔅 The form objects should be replaced by request objects
Update controller routes to return Json representation of objects ❔You already created APIResponse, however, it seems you didn't update your controller and service to return the set JSON>?
Write acceptance tests for your API ✅
Robocop/Smell:
Your code is super clear and clean, amazing!!
Quick notes:
Please merge your working branch back to the main branch~
APIResponse
, however, it seems you didn't update your controller and service to return the set JSON>?Robocop/Smell:
Quick notes: