weblancaster / expressjs-static-boilerplate

Express.js static boilerplate is a simple Node.js server using static files and directories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express JS Static Boilerplate

Express.js 4.0 Static Boilerplate is a simple Node.js Server using static files and directories for quick quality development and/or production.

Features

  • Static directory and files
  • Server watch for changes (Nodemon)
  • Grunt JS (Files Watch, CSS min, JS uglify)
  • no Jade

Usage

On your terminal.

Install the node packages.

sudo npm install

Run the server

nodemon server.js

To watch and run the Grunt.js task on any change to your main files "app.js, app.css"

grunt watch

Want to do manually?! no problem.

grunt build

Open your browser on the address 'localhost:3000'

Done!

Author

Michael Lancaster

License

MIT

About

Express.js static boilerplate is a simple Node.js server using static files and directories.


Languages

Language:JavaScript 80.2%Language:HTML 14.5%Language:CSS 5.3%