Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1004 Bytes

File metadata and controls

38 lines (26 loc) · 1004 Bytes

NodeJS_Template_ContactForm

A small template project built on NodeJS with consolidate and the mustache html-view-engine. JQuery, Bootstrap, Bootstrapvalidator and animate.css.

Getting started

  1. First of all you need nodeJS - http://nodejs.org/
  2. Download this template project and extract it in an appropriate place
  3. Open a console and step inside the project-root. Install project dependencies with $npm install
  4. Run the project with $node app.js
  5. Open a browser and go to localhost:3000

Debugging the backend

You may want to debug the backend. A very very nice tool is node-inspector.

Install

$ npm install -g node-inspector

Start

$ node-debug app.js

Read more - https://github.com/node-inspector/node-inspector

Help

If you get an error that says something like this: "ENOENT, stat 'C:\Users\myuser\AppData\Roaming\npm'" when building the project.

Create a folder named 'npm' in the roaming directory.