Sign inSign up

ibandla/ics4

By ibandla

•Updated about 9 years ago

ICS-4 Distributed web objects lab work

Image
0

10K+

ibandla/ics4 repository overview

⁠ICS-4 Distributed web objects lab work Deploy to now

Build Status

This repo contains the running project for the ICS4 Distributed Web Objects Unit.

⁠Purpose

To be used to practice consuming a json/xml REST API with feign

⁠Deploy own version

Click the "Deplot to now" button then fill in the MONGO_URI variable and now token.

⁠How to get free mongodb

Checkout mlab⁠ and atlas⁠ Then use the mongodb uri that they give it looks like mongodb://root:password@bar:27017/foo

⁠Feign client config

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);
    }

Tag summary

Content type

Image

Digest

Size

102.3 MB

Last updated

about 9 years ago

docker pull ibandla/ics4