expressif is an opinionated MCR wrapper and bootstrap for the express framework that vastly simplifies creating self-documenting JSON RESTful web services based on JWT and PostgresSQL.
The request flow goes through authorize
-> Request Validator
-> JSON Validator
-> Custom Middlewares
-> Controller
-> Model
.
- Basic template for JSON Rest APIs.
- self-documenting JSON RESTful API.
- Basic Wrappers for (M)odels, (C)ontrollers and (R)outers.
- Custom API.
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 8 or higher is required.
$ npm install @rebelstack/expressif
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test