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.
Libraries
- ast/checkers/checkers
- Copyright 2024 CouchSurfing International Inc.
- ast/file_system/analyzer_file
- ast/file_system/analyzer_folder
- ast/file_system/file_resource_provider
- ast/file_system/util/watch_event_extension
- ast/file_traverser
- ast/visitors/app_visitor
- ast/visitors/controller_visitor
- ast/visitors/get_params
- ast/visitors/method_visitor
- clis/construct_runner/commands/build_command
- clis/construct_runner/commands/dev_command
- clis/construct_runner/commands/mixins/dart_defines_mixin
- clis/construct_runner/construct_runner
- clis/construct_runner/generator/construct_generator
- clis/revali_runner/commands/build_command
- clis/revali_runner/commands/dev_command
- clis/revali_runner/commands/mixins/construct_runner_args
- clis/revali_runner/revali_runner
- dart_define/dart_define
- entrypoint/run
- handlers/construct_entrypoint_handler
- handlers/constructs_handler
- handlers/routes_handler
- handlers/vm_service_handler
- revali
- revali_bin
- utils/extensions/directory_extensions
- utils/mixins/directories_mixin