October 2019
Intermediate to advanced
358 pages
8h 22m
English
Now that we have a complete information system, let’s integrate it with our web frontend. Our goal is to call into our information system any time a user adds an annotation to a video, to see if we have relevant results to add to that user’s conversation.
First let’s make sure rumbl_web depends on info_sys. Open up apps/rumbl_web/mix.exs and add this entry under deps:
| | {:info_sys, in_umbrella: true}, |
Note how we were able to build and test info_sys in complete isolation and now we can introduce it as a dependency to any of the sibling applications that need it. If an application doesn’t need info_sys, then it doesn’t have to depend on it either.
Next let’s integrate InfoSys with the VideoChannel. Whenever ...
Read now
Unlock full access