Skip to content

Build Simple Website with NodeJS, Express & EJS view engine

Notifications You must be signed in to change notification settings

alistairfairweather/node-website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Simple Website with NodeJS, Express & EJS view engine

Document

  • Clone this repo: git clone https://github.com/bhanushalimahesh3/node-website.git
  • Install dependencies using npm javascript package manager: npm install
  • Start node server with nodemon: nodemon start
  • Tune to url: http://localhost:3000

All boilerplate code managed by express generator framework adhering to DRY rule. Routes are defined in routes/index.js file, static view pages are in views folder. I have implemented partials concept to avoid code redundancy in html using EJS view engine. Css and Javascript files are stored in public folder.

Screenshot

About

Build Simple Website with NodeJS, Express & EJS view engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 68.1%
  • JavaScript 27.7%
  • CSS 4.2%