Composer is a simple, light-weight and opinionated framework for rapidly developing scalable REST API services for NodeJS, written in TypeScript.
The framework combines the OpenAPI specification with a simple functional programming model to provide a highly expressive and powerful system for developing REST API services.
Built on OpenAPI
HTTP 1.x/2.x Web Server
Built-in behaviors for common REST API actions
Built-in ORM layer
Document Version Tracking
2nd Level Caching
Role Based Access Control
Using Composer is as simple as 1-2-3.
Define the REST API service using OpenAPI and save it as
Generate the project using the Composer CLI.
1yarn global add @composer-js/cli 2composer -i ./service.yaml -o . -t server -l nodejs
Start the server!
1yarn install 2yarn start