Summary
In this chapter, we’ve dived into what Julia’s standard library and JuliaWeb have to offer for building web apps. First, we looked at working with the Sockets
package, and we built two versions of a TCP echo server.
Then, we examined how to work with the WebSockets
package. We followed that up with a thorough discussion of the HTTP
package, starting by using it as a web client. Next, we built several web server examples and saw how to route incoming requests.
Finally, it all came together when we looked at how to work with JSON
data using a REST
web server. This was just a basic example, but I hope you’re starting to see the beginning of a microservices architecture here. Armed with this knowledge, you’ll be able to build your own service apps.
In the next chapter, we will discuss how Julia is used in various web use cases.