Express.js Application Skeleton
Hello there !!! Hope you are doing well.
Today we are going to explain you about Express.js Application Skeleton. The architecture of Express.js app may differ from Developer to Developer. But today we will introduce one of best architecture defined by the Expressjs official documentation.So, let's start...
If you are having Node version greater or equal to 8.2.0 then you can use following command to generate skeleton.
npx express-generator
For the earlier version, you need to install express-generator package globally using following command.
npm install -g express-generator
After installing express-generator package globally, you need to hit one command where in which directory you want to define your application's skeleton.
express <name-of-your-app>
Above process will generate Express.js application skeleton. The default rendering engine will be set to Pug by default. Now you install required dependencies and can start application by following command.
npm install && npm start
All set ...! If you are having any question or doubt regarding anything related to MEAN Development, drop comment below, we will solve it together !

0 Comments
New Comment on MEAN Stack ...