Creating an API-Centric Web Application