Skip to content
Boilerplate in Swig node Hapi Sequelize for rocket starting your new project
JavaScript HTML CSS
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.
client
server
.gitignore
.sequelizerc
LICENSE
README.md
config_example.js
gulpfile.js
package.json
test.js

README.md

SNHS

Stuffs Used :

Swig

Hapi

Node

Sequelize

Let's start creating a new project for you

git clone git@github.com:anistark/snhs.git <project_name>

cd <project_name>

npm install

Copy all config

cp config_example.js config.js && cp server/config_example.json server/config.json

Replace the values with your custom values

Model Migrations

node_modules/.bin/sequelize db:migrate

Run

nodemon

Sample Model Creation

node_modules/.bin/sequelize model:create --name member --attributes "first_name:string,last_name:string,email:string,phone:string,password:string"

Contributions and Suggestions for improving Most welcome here

You can’t perform that action at this time.