Under Construction Page This project is a simple "Under Construction" page built with Node.js and Express, displaying a friendly message and relevant information for users while a site or feature is being developed. The project uses EJS for templating to render dynamic HTML, allowing for easy customization of messages, images, and links. JavaScript is used for small interactive elements, such as countdowns or animations, enhancing user engagement. Nodemon enables real-time updates during development, making it quick and efficient to deploy changes. This project is ideal for understanding server-side rendering and creating maintenance or placeholder pages.
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
ornpm start