Testing the form's rendering

We can do the testing by starting at the server using nodemon:

nodemon server/server.js

The server is up, I'm going to visit Google Chrome, and go to localhost:3000. You'll notice something kind of cool, I haven't actually visited the URL yet but you can see that the connection has already occurred. Chrome does some lazy loading, if it thinks you're going to go to a URL it's actually going to make the request; so when I do visit it, it loads even faster. Now if I visit localhost:3000 what do we get?

We get our little form, we can type in a message like Test and we can send it off. Now by default forms are very ...

Get Advanced Node.js Development 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.