Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anistark/nhsm
Node Hapi Swig Mongo Boilerplate
https://github.com/anistark/nhsm
Last synced: 14 days ago
JSON representation
Node Hapi Swig Mongo Boilerplate
- Host: GitHub
- URL: https://github.com/anistark/nhsm
- Owner: anistark
- License: mpl-2.0
- Created: 2016-01-06T20:39:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-18T18:48:52.000Z (almost 9 years ago)
- Last Synced: 2024-09-29T05:54:34.793Z (about 1 month ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Node Hapi Swig Mongo
=====================Stuffs Used :
#### [Node][nodeUrl]
#### [Hapi](http://hapijs.com/)
#### [Swig](http://paularmstrong.github.io/swig/)
#### [MongoDb](https://www.mongodb.org/)
#### [Joi](https://github.com/hapijs/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
[nodeUrl]: https://nodejs.org