@terrajs/mono
v0.9.2
Published
Framework to create monolithic REST API
Downloads
162
Readme
Mono is an opinionated REST API Framework for Node.js based on Express.js
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