Skip to content
Node js website with routing and ejs view engine
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
node_modules
partials
public/stylesheets
routes
schema
views
README.md
app.js
npm-debug.log
package.json

README.md

Node js basic website

Points covered

  1. Routing
  2. EJS view engine
  3. How to use partials
  4. Mongoose with Node Js

How to use EJS in Express

express app
cd app
npm install npm install ejs --save

set view engine in app.js

app.set('view engine', 'ejs');

for more info contact me here : http://www.coding4developers.com/contact-us/

You can’t perform that action at this time.