Implement simple api with get and index methods
Test the api, using integration tests
Rm 2
Split the app in backend and frontend