Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mono-js/mono
Minimalist Framework on top of Express.js
https://github.com/mono-js/mono
api express framework mono node rest
Last synced: about 2 months ago
JSON representation
Minimalist Framework on top of Express.js
- Host: GitHub
- URL: https://github.com/mono-js/mono
- Owner: mono-js
- License: mit
- Created: 2017-08-07T14:33:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-21T10:08:53.000Z (over 6 years ago)
- Last Synced: 2024-11-09T18:43:35.088Z (about 2 months ago)
- Topics: api, express, framework, mono, node, rest
- Language: JavaScript
- Homepage: https://mono.js.org
- Size: 527 KB
- Stars: 160
- Watchers: 7
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Mono is a minimalist REST API Framework on top of Express.js
[![npm version](https://img.shields.io/npm/v/mono-core.svg)](https://www.npmjs.com/package/mono-core)
[![Travis](https://img.shields.io/travis/mono-js/mono/master.svg)](https://travis-ci.org/mono-js/mono)
[![Coverage](https://img.shields.io/codecov/c/github/mono-js/mono/master.svg)](https://codecov.io/gh/mono-js/mono)
[![license](https://img.shields.io/github/license/mono-js/mono.svg)](https://github.com/mono-js/mono/blob/master/LICENSE)## Documentation π
[https://mono.js.org](https://mono.js.org)
## Features β¨
- Environment based config
- API Versioning (`v1`, `v2`...)
- [Json Web Token](https://jwt.io) sessions
- ACL with [Imperium](https://github.com/mono-js/imperium)
- Routes validation with [joi](https://github.com/hapijs/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](https://github.com/mono-js/create-mono-app):
```bash
npx create-mono-app my-app
```### Start in development
```bash
npm run dev
```### Start in production
```bash
NODE_ENV=production npm start
```### Run the tests with coverage
```bash
npm test
```## Official Modules π¦
Mono offers a module system to plug any functionality in your project:
- [mono-mongodb](https://github.com/mono-js/mono-mongodb)
- [mono-elasticsearch](https://github.com/mono-js/mono-elasticsearch)
- [mono-redis](https://github.com/mono-js/mono-redis)
- [mono-io](https://github.com/mono-js/mono-io)
- [mono-push](https://github.com/mono-js/mono-push)
- [mono-mail](https://github.com/mono-js/mono-mail)
- [mono-notifications](https://github.com/mono-js/mono-notifications)
- [mono-doc](https://github.com/mono-js/mono-doc)## Credits π
Logo created by Frederick Allen from the Noun Project.
## License π
MIT Β© [mono-js](https://github.com/mono-js)