All Projects → eseom → hapi-react-fullstack-boilerplate

eseom / hapi-react-fullstack-boilerplate

Licence: MIT license
Hapi, Sequelize, React, etc.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to hapi-react-fullstack-boilerplate

wily
Build Node.js APIs from the command line (Dead Project 😵)
Stars: ✭ 14 (-33.33%)
Mutual labels:  hapi, sequelize
Typescript Hapi React Hot Loader Example
Simple TypeScript React Hot Loading example with Hapi Server-side rendering
Stars: ✭ 44 (+109.52%)
Mutual labels:  isomorphic, hapi
my-blog
node.js vue.js nuxt.js hapi.js mysql 仿简书博客
Stars: ✭ 25 (+19.05%)
Mutual labels:  hapi, sequelize
Hapi React Hot Loader Example
Simple React Hot Loading example with Hapi Server-side rendering
Stars: ✭ 44 (+109.52%)
Mutual labels:  isomorphic, hapi
hapi-sequelizejs
A hapi.js plugin to connect with Sequelize ORM
Stars: ✭ 56 (+166.67%)
Mutual labels:  hapi, sequelize
Hapi Universal Redux
DEPRECATED: Create an universal React and Redux app in less than 5 minutes!
Stars: ✭ 215 (+923.81%)
Mutual labels:  isomorphic, hapi
pg-search-sequelize
Postgres full-text search in Node.js and Sequelize.
Stars: ✭ 31 (+47.62%)
Mutual labels:  sequelize
NodeAngular
🚀 Full Stack Framework Béta : mean with last Angular and Node (Example)
Stars: ✭ 13 (-38.1%)
Mutual labels:  sequelize
universal-progressive-todos
A Todo list with universal JavaScript & Progressive Enhancement
Stars: ✭ 30 (+42.86%)
Mutual labels:  isomorphic
z
基于 MidwayJS(EggJS) + TypeScript 的多模块应用 [ NodeJS 版 ]
Stars: ✭ 122 (+480.95%)
Mutual labels:  sequelize
kaonjs
Kaon.js is a react isomorphic app solution. It contains webpack build, hot reloading, code splitting and server side rendering.
Stars: ✭ 21 (+0%)
Mutual labels:  isomorphic
nestjs-throttler-storage-redis
Redis storage provider for the nestjs-throttler package.
Stars: ✭ 56 (+166.67%)
Mutual labels:  socketio
react-ssr-starter
🔥 ⚛️ A React boilerplate for a universal web app with a highly scalable, offline-first foundation and our focus on performance and best practices.
Stars: ✭ 40 (+90.48%)
Mutual labels:  isomorphic
react-ssr-hydration
Example of React Server Side Rendering with Styled Components and Client Side Hydration
Stars: ✭ 15 (-28.57%)
Mutual labels:  isomorphic
nodejs-integration-testing
Integration testing of a Node.js / Express.js / Sequelize app
Stars: ✭ 23 (+9.52%)
Mutual labels:  sequelize
hapi-cli
CLI to build API with Hapi, mongodb and mongoose. Work with Hapi V17.
Stars: ✭ 36 (+71.43%)
Mutual labels:  hapi
node-sequelize
nodejs使用sequelize的api测试应用
Stars: ✭ 29 (+38.1%)
Mutual labels:  sequelize
generator-hapi-plus
Hapi REST API generator with PostgreSql, MySql, Mongo plugins, automatic Swagger docs, authentication with JWT, logging, Docker etc
Stars: ✭ 21 (+0%)
Mutual labels:  hapi
node-crudapi-ts
CRUD boilerplate for create Node Restful API's with Express Framework and Sequelize ORM written in Typescript.
Stars: ✭ 41 (+95.24%)
Mutual labels:  sequelize
node-express-clean-architecture
A modular folder structure for developing highly scalable and maintainable APIs in nodejs using express.
Stars: ✭ 41 (+95.24%)
Mutual labels:  sequelize

hapi-react-fullstack-boilerplate

Hapi, Sequelize, React, Redux, Bootstrap, Kuejs, etc.

react full web stack with rendering server, hapi echosystem for REAL Production.

DEMO

heroku deployed demo

Features

  • HapiJS
  • ReactJS
  • SSR
  • Webpack 2 (new webpack config structure)
  • React-Router
  • Redux
  • Document Head React-Helmet
  • BabelJs
  • Linting with eslint & jscs
  • Testing with karma, mocha
  • API Documentation Swagger
  • Sequelize - cover traditional web apps.
  • session based authentication
  • scheduling job queue (for async jobs)
  • react-hapines
  • sass loader, node sass
  • react-ga

Extra features

  • hails - Django style Hapi module structure
  • custom console execution with the context
yarn hails exec items get # see src/server/items/command.js

Usage

development

git clone https://github.com/eseom/hapi-react-fullstack-boilerplate.git <project>
cd <project>
yarn
cp settings.sample.js settings.js
vim settings.js (edit database connection or something)
yarn hails db:upgrade # for db migration
yarn dev

db

yarn hails db:create # create a sequelize migration file in db/migrations/
yarn hails db:up # process pending migrations
yarn hails db:down # revert the last migration
yarn hails db:status # show migration status

testing

yarn test
yarn test:node
yarn test:node:watch

production

yarn build

# acording to settings.js
[PORT=4000 ] \
  DATABASE_URL=postgres://<username>@<hostname>:<port>/<dbname> \
  REDIS_URL=redis://:<password>@<hostname>:<port>/<database_number> \
  yarn start

API Interface

Path: /documentation

Editor Configuration

  • vscode
code --install-extension dbaeumer.vscode-eslint
  • Atom
apm install editorconfig es6-javascript atom-ternjs javascript-snippets linter linter-eslint language-babel autocomplete-modules file-icons

Todo

  • oauth2 authentication...

License

The MIT License (MIT)

Copyright (c) 2015 Roberto Ortis

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Reference

** initially forked from**

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].