You can even go so far as to write a web server that queries your API and renders static HTML to clients--which is what we did at my last startup.
This sort of thing is referred to as a Service-Oriented-Architecture.
It's a great way to sandbox a lot of stupid--you setup a little Sinatra app to be a fake API server while your buddy builds out the real backend, and one day you flip a switch and everything comes to life correctly.
(j/k that doesnt happen everything is always terrible the first time)
This sort of thing is referred to as a Service-Oriented-Architecture.
It's a great way to sandbox a lot of stupid--you setup a little Sinatra app to be a fake API server while your buddy builds out the real backend, and one day you flip a switch and everything comes to life correctly.
(j/k that doesnt happen everything is always terrible the first time)