This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
In this series of blog posts, we’re looking at how to set up a simple web app in node. In the previous installment we got the basic set up running. In this post we’re going to put the plumbing in for serving html, both static and dynamic pages. Serving static files We could serve static files using express to match on a given path like this app.get('/filename', ...) and returning the file in the…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.