Index file to consume rest api, with hardcoded localhost link