![]() Installing Expressįirst of all we need to install Express globally. We’re going to use it as we’re looking at building a web application, whether that’s a one page app or a multipage site isn’t important right now. The first thing you’ll enjoy is that it simplifies the web server setup – including routing for static files – and creates a directory structure as a start point for organising your code. Say hello to Express! What is Express?Įxpress is a popular web application framework for node. We used Mongoose to make working with the database easier, and now we’re going to look at a way of making the basic server and framework setup easier. Up to this point in the Knowing Node series we have used node.js to create a server, built a rudimentary MVC framework, and served a webpage pulling data from a MongoDB database. Menu Introducing the Express.js framework for node.js 17 January 2013 on express, node.js, nodejs
0 Comments
Leave a Reply. |