/hapi-sequelize-boilerplate

Simple boilerplate for hapi and sequelize using sequelize-cli

Primary LanguageJavaScript

Simple boilerplate for Hapi and Sequelize (using sequelize-cli)

Installation

Simply clone this repo and edit config.json for database connections

git clone https://github.com/pawel-miczka/hapi-sequelize-boilerplate.git project-name

...then remember to install dependencies using yarn or npm

Using YARN:

yarn

Using NPM

npm install

Scripts

  • Run in development mode with hot reload
yarn dev
npm run dev
  • Run in production mode
yarn start
npm run start

Last words

Happy coding :)