expressif
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
-> validate request structure
-> validate request parameters
-> controller middleware
-> response
.
Features
- Basic template for JSON Rest APIs.
- self-documenting JSON RESTful API.
- Basic Wrappers for (M)odels, (C)ontrollers and (R)outers.
- Custom API.
Installation
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
Docs & Community
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test