npm init
npm install express
npm install ejs
npm install nodemon
- mkdir model
- mkdir views
- touch app.js
Step 5: Navigate inside the middleware folder and create a file Uc-middleware.js which will contain our middleware
- cd middlewares
- Uc-middleware.js
- cd views
- touch about.ejs
- touch home.ejs
- touch siteuc.ejs
- cd partial
- touch footer.ejs
- touch header.ejs
npm install
npm run dev
(http://localhost:3000/ or http://localhost:8000/)