Assignment to create some REST API and use it in the front-end