Skip to content

Create a simple Website with NodeJS, Express & EJS view engine

Notifications You must be signed in to change notification settings

krguptaa/simple_website_nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a simple Website with NodeJS, Express & EJS view engine

Installation

  • Clone this repo: git clone https://github.com/gupta-kamlesh-r/simple_website_nodejs.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

Create a simple Website with NodeJS, Express & EJS view engine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published