JSPM

  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q45048F
  • License SEE LICENSE IN https://github.com/hapinessjs/hapiness/blob/master/LICENSE.md

Project to have a HapiJS (https://hapijs.com/) based framework to create easier NodeJS back-end with some awesome features

Package Exports

  • @hapiness/core
  • @hapiness/core/core
  • @hapiness/core/core/decorators
  • @hapiness/core/core/di
  • @hapiness/core/core/metadata

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hapiness/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hapiness

Web and services application framework

Hapiness is a web framework based on HapiJS and enhanced with Dependency Injection, strong modularisation and decorators.

It provides a real enhancement for building web servers and it enables to build modules, services, etc. quickly.

It has a stable and tested dependency injection system thanks to Angular.

Better development experience with typings, maintainability, improvement of productivity and a common project structure.

Everything in a single uniform framework.

Table of contents

Technologies

  • HapiJS
    • Hapi enables developers to focus on writing reusable application logic instead of spending time building infrastructure.
  • Joi
    • Object schema description language and validator for JavaScript objects.
  • Boom
    • HTTP-friendly error objects
  • Good
    • Good is a Hapi plugin to monitor and report on a variety of Hapi server events as well as ops information from the host machine.
  • Typescript
    • TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
  • RxJS
    • RxJS is a set of libraries for composing asynchronous and event-based programs using observable sequences and fluent query operators.

All those technologies are Typescript ready. It will help to build web servers and maintain them easier.

Back to top

Using Hapiness to create a web server and services

yarn or npm it in your package.json

$ npm install --save @hapiness/core rxjs

or

$ yarn add @hapiness/core rxjs
"dependencies": {
    "@hapiness/core": "^1.1.0",
    //...
}
//...

Use Hapiness API

Actually, we're in : v1.1.0

See API Reference to know what's already implemented.

Back to top

Contributing

To set up your development environment:

  1. clone the repo to your workspace,
  2. in the shell cd to the main folder,
  3. hit npm or yarn install,
  4. run npm or yarn run test.
    • It will lint the code and execute all tests.
    • The test coverage report can be viewed from ./coverage/lcov-report/index.html.

Back to top

Change History

  • v1.1.0 (2017-10-16)
    • Websocket Server: Secure configuration
    • Documentation
  • v1.0.0 (2017-10-05)
    • Publish all features of API
    • First stable version

Back to top

Maintainers

tadaweb
Julien Fauville Antoine Gomez Sébastien Ritz Nicolas Jessel Tara Lerias

Back to top

License

Copyright (c) 2017 Hapiness Licensed under the MIT license.

Back to top