Skip to content

A wrapper for the node Express framework that adds some opinions as to how to structure simple web services on an api server.

Notifications You must be signed in to change notification settings

rebelstackio/expressif

Repository files navigation

expressif

Node.js CI

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.

Service Request Flow

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

About

A wrapper for the node Express framework that adds some opinions as to how to structure simple web services on an api server.

Resources

Stars

Watchers

Forks

Packages

No packages published