REST API refactor: real case scenario
I recently joined Flaconi.de, where I have been in charge of enhancing and re-factoring the backend API in PHP. The idea to make the API RESTful has been and still is, not an easy journey. I had to go trough 3 different steps to achieve the result I was looking for: 1) Implement a proper GIT flow, as our team was growing; 2) Re-factor the whole API to be REST. We made some compromises, but we achieved a nearly RESTful goal; 3) Implement API tests via Codeception (we were already using Unit Tests).