Day 2, was more productive than anticipated.
https://oneaday.dev/one-hundred-apis
Here is the outline of what has been done:
Vue3.js components updated, adding a way to navigate the APIs as development progresses. I also added a pinia store that drives/binds selection between the dropdown via the v-show
.
I have added a second endpoint, this one is an Interest Repayment Calculation
a handy little calculation to quickly get an idea of how much borrowing money costs over time. I also added in a bottom part to show the JSON response as pretty print.
I did not use Python this time!
I have noticed that a request that involves a python script has a slight delay. This isn't a problem for big heavy tasks, but in these early API developments, the small delay is a little annoying. So the Interest Repayment Calculation
is PHP only.
The UI is still a little raw, but in time I will polish it.