Skip to content
Node Hapi Swig Mongo Boilerplate
JavaScript CSS HTML
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.
public
server
.bowerrc
.gitignore
LICENSE
README.md
assets.js
bower.json
config_example.js
database.js
gulpfile.js
package.json
server.js

README.md

Node Hapi Swig Mongo

Stuffs Used :

Node

Hapi

Swig

MongoDb

Joi

Setup

Install via npm

mkdir projectName
cd projectName
npm init
npm install nhsm
cp -r node_modules/nhsm .

Install via git

$ git clone --depth=1 https://github.com/anistark/nhsm.git projectName
$ cd neem
$ npm install

**The project will be a bit different in both the processes shown above. But you can rename you project or edit the package.json file accordingly.

Configure your project

$ cp config_example.js config.js

Replace the config values accordingly.

Start server:

$ node server

Production

Good to minify first:

npm install -g gulp

Suggestions welcome for enhancing this boilerplate stack

You can’t perform that action at this time.