5

Build a shared application

Images

What you will learn

In the previous chapter, we created a JavaScript application running in node that could act as a web server. We used the server application in two ways: to serve out the contents of files and to run JavaScript code in response to web requests. We found that we could access our site using a standard browser. In this chapter, we’ll discover how we can create a server that can host components of an application. Part of our application will run inside the browser, and the rest will run on the server. We’ll create services on the server and access them from code running in the browser to spread our ...

Get Begin to Code: Building apps and games in the Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.