Happy is a framework built with Node.JS to provide an easy Laravel like structure for the creation of serverless express api's
s slogan is (freely translated): “Software that makes you happy”, with happy (in the Dutch Language) being an acronym for Better, Praising, Intuitive and Right. Hence the name.What?
Happy contains a framework structure built on the following resources, structure and principals.Resources:
* Node.JS
* Serverless
* Sequelize
* PostgreSQL
* AWS DynamoDB
* AWS Lambda
* AWS S3
Structure:
* Laravel like, easy to use structure by both front- and back-end developers, making it a framework suitable for full stack development.
* Built on express and serverless, so not everything is built and maintained by us.
* Queue system, based on a “Queue worker” and “Job worker” to create an easy way to handle load-heavy actions.
* Database independent.
Principals:
* Microservice everything
* KISS
* JIT over JIC
Why?
Happy is not a traditional framework in the sense that it provides you with everything out of the box. Its a set of tools that you can use to set up scalable and maintainable microservices using modern solutions like serverless. There is no good or bad way to utilize serverless at the time of writing. We can only create a structured way, and provide some handles to get started with practices that everyone can understand.CLI Usage:
```
happy`
Package Usage:javascript`
const happy = require('@indexsoftware/happy');
// or es6
import happy from '@indexsoftware/happy';
* AWS CLI
* Node.JS > 12.x
* NPM > 6
* Serverless CLI
Global:
`bash`
npm i -g @indexsoftware/happy
To install happy as a framework dependency, run the following:
`bash`
npm i @indexsoftware/happy
Simply run:
```
happy new