A framework loosely based on the simplicity and ease of use of Ruby on Rails, but without the performance cost.
- A simple DSL for mapping routes to controllers
- An ActiveRecord library for easy and simple model definitions
- A console for easy researching and debugging
- Built-in process clustering
- Built-in hot reloading while in development mode
- Built-in server management tools
- Built-in feature flagging system
- Built-in sharding support
- Built-in authorization support
Add this package as a dependency in your pubspec.yaml
and run pub get
RLF comes with a command line to help you out. We'll start by running the init command:
Create a new project directory, then run the init command:
pub run rlf:cli init
Running this command will create the following directories and files for your application:
Directory/File | Purpose |
---|---|
/rlf.config.json | General RLF configuration file |
/routes.dart | Route definition file |
Each generated file contain RLF's default values for that given file.
Setting Key | Default Value | Purpose |
---|
Routes are defined in <project-root>/routes.dart
using a DSL designed for declaring routes. See the API docs for more details on how to defined routes.
For a list of the available cli commands, simply execute the following command:
pub run rlf:cli --help