Separated REST API and Front-end