Completed REST API in server.js file and fetched data from the server at
reset