Closed andyjianzhou closed 3 months ago
@Pradyuman7 Made it work with data persistence, and organized code in a way that there are repeating lines of code for each POST request (same process)
Made it work with new and improved testcase
@Pradyuman7 Made it work with data persistence, and organized code in a way that there are repeating lines of code for each POST request (same process)
- So I am thinking, because adding it to data.json is the same process, should I make a service/utility function to simply add it based off the API request name? Then, it will be very easy and we'll have a "service" layer to the codebase. Or is that an overkill in this case haha
I'd think an ovekill, but we could do it later as improvement
@Pradyuman7 Done! Ready for review
Waiting for #26 to be merged
Add validation input
Draft
[x] solves #12