Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
The Code Racer server is built using Node.js, a JavaScript environment that is suited for servers that need to relay a lot of information very quickly. Because code racer is a game, Node.js is an excellent choice, since most of the server's responsibility is passing information between the players in the game.
The first step is to get Node.js installed, along with some other basic foundations, like NPM, a package manager that will allow us to include other useful libraries. In this video we install Node.js and run our first Node.js script.
You need to sign up for Treehouse in order to download course files.
Sign up