Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 618 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 618 Bytes

express-nunjucks

simple express and nunjucks template.

How to install and use

  • clone with git clone https://github.com/ejamshidiasl/express-nunjucks.git
  • go to template folder cd express-nunjucks
  • install dependencies with npm install
  • run server npm run dev_node

Note

  • default servers runs on 127.0.0.1:3000
  • put static files in njk_public folder
  • put frontend (.html or .njk) in njk_views
  • run server with npm run dev_node or npm run dev_nodemon to automaticaly update and refresh server when source codes changes.