🚧 Early prototype ahead 🚧
Slushy uses OAS (OpenApi Specification) schemas to generate server boilerplate and validate server inputs and outputs. Slushy currently consist of the following parts:
- @slushy/codegen Takes an OAS schema and generates typescript type definitions as well as @slushy/server boilerplate.
- @slushy/server An opinionated NodeJS server based on an OAS schema with inputs/outputs validation and out of the box functionality such as api documentation.
To use slushy just follow three simple steps:
- Define the OAS schema
- Generate typescript types and server boilerplate
- Run the server
Current features:
- Input validation
- Type generation
- Route generation
For documentation see https://aimed.github.io/slushy/.
Coming up.