hapipress
v0.0.1
Published
Bleeding Edge Blogging Platform - Based on the latest javascript technologies.
Downloads
5
Maintainers
Readme
hapi-react-starter-kit
A hapi React Starter kit with react-router, redux, react-transform
Light and fast - Don't be sad, be hapi!
Inspired by
This repo was inspired by the following projects and their authors
- react-kickstart by Alessandro Arnodo
- react-isomorphic-starterkit by RickWong
- react-transform by Dan Abramov
- webpack-express-boilerplate by Christian Alfoni
- Heavily based on Erikras' react-redux-universal-hot-example
- redux-react-router-async-example by emmenko
- hapi-socketio-redis-chat-example by dwyl
- Scaling Redis/Socketio redispubsub
##Features
- Hapi server framework for Node. - hapijs
- React JS Library for user interfaces. - reactjs v0.14
- Webpack + React-transform and react-transform-hmr
- React Router keeps your UI in sync with the URL. - react-router v1.0.0-rc3 ~~* React transmit for server side rendering of reactjs. - react-transmit~~
- Flux implementation - Redux
- ES6 and ES7 ready. - BabelJs
- Linting with eslint & jscs
- Testing with karma, mocha, isparta, webpack, sinon-chai
- Coverage with karma-coverage
- API Interface - Swagger
- API Validation - Joi
- Database for storing user data (CRUD) - Redis
- Password encryption - BCrypt
- Promises - bluebird
- Fetch isomorphic-fetch
- Authentication Oauth2 - Refresh/Access tokens
- Token Encoding with node-jsonwebtoken
- Token Encryption with node-forge
- i18n - react-intl by yahoo
Usage
Clone this repository
git clone https://github.com/Dindaleon/hapi-react-starter-kit.git
Install
npm install
Production server
npm run prod
Development server
npm run dev
Linting
npm run eslint
npm run jscs
Testing
To check coverage check the coverage folder after running the test. Tests are incomplete.
npm test
API Interface
Path: /api/v1/documentation
##Todo
Basic
- More testing
- ~~improve redux implementation~~
- ~~Testing~~
- ~~Coverage~~
- ~~Linting~~
- ~~Coveralls support~~
Advanced
- ~~add redis~~
- add socketio
- ~~add authentication~~
License
MIT