simple express and nunjucks template.
- 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
- 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
ornpm run dev_nodemon
to automaticaly update and refresh server when source codes changes.