revali 1.2.0 copy "revali: ^1.2.0" to clipboard
revali: ^1.2.0 copied to clipboard

Revali is a build system for creating scalable and efficient APIs with Dart

Revali #

Revali is a powerful code generator specifically designed for the Dart programming language. It leverages annotations within your classes, methods, and method parameters to create an API, allowing developers to focus on writing clean, maintainable code while it handles the boilerplate.

Revali analyzes your Dart classes, methods, and annotations to generate code provided by "constructs". These constructs are standalone dart packages that are imported into your project, picked up by Revali, and used to generate code.

Example #

@Controller('hello')
class HelloController {
  const HelloController();

  @Get()
  String hello() {
    return 'Hello, World!';
  }
}

Documentation #

Check out the documentation for more information on how to use Revali.