This repo contains the running project for the ICS4 Distributed Web Objects Unit.
To be used to practice consuming a json/xml REST API with feign
Click the "Deplot to now" button then fill in the MONGO_URI variable and now token.
Checkout mlab and atlas
Then use the mongodb uri that they give it looks like mongodb://root:password@bar:27017/foo
You can use the live version of this project to configure feign
@FeignClient(url = "https://ics4-2018.now.sh/",name = "ics4feign")
public interface StudentFeignClient {
@RequestMapping(value = "groups",method = RequestMethod.POST)
Group createGroup(@RequestBody Group group);
@RequestMapping(value = "{id}/jokes",method = RequestMethod.POST)
Joke createJoke(@RequestBody Joke joke);
}