@terrajs/mono

0.9.2 • Public • Published

Mono

Mono is an opinionated REST API Framework for Node.js based on Express.js

npm version Travis Coverage license

Features

  • Environment based config
  • API Versioning (v1, v2...)
  • Json Web Token sessions
  • ACL with Imperium
  • Routes validation with joi
  • Init files via src/**/*.init.js
  • Routes declaration via src/**/*.routes.js
  • Extendable with modules & hooks

Usage

INFO: You need node >= 8.0.0 to use Mono since it uses native async/await

Installation

You can boostrap a Mono project by using our official create-mono-app:

npx create-mono-app my-app

Start in development

npm run dev

Start in production

NODE_ENV=production npm start

Run the tests with coverage

npm test

Official Modules

Mono offers a module system to plug any functionality in your project:

Credits

Logo created by Frederick Allen from the Noun Project.

License

MIT © terrajs

Package Sidebar

Install

npm i @terrajs/mono

Weekly Downloads

2

Version

0.9.2

License

MIT

Unpacked Size

34.6 kB

Total Files

19

Last publish

Collaborators

  • alexchopin
  • atinux
  • benjamincanac
  • gaetansenn