Serinus is a framework written in Dart for building efficient and scalable server-side applications.
Package | Version |
---|---|
serinus | |
serinus_cli | |
serinus_config | |
serinus_swagger | |
serinus_cors | |
serinus_rate_limiter | |
serinus_serve_static |
To install Serinus you can use the following command:
dart pub global activate serinus_cli
serinus create <project_name>
cd <project_name>
serinus run
By default the server will run on port 3000 and will listen for requests on localhost. You can change these settings modifying the file where you have defined the application (by default this file is lib/main.dart
) or by passing the --port
and --host
flags to the run
command:
serinus run --port=8080 --host=localhost
You can also start the application in development mode adding the --dev
flag to the command:
serinus run --dev
In development mode the server will automatically restart when you change the source code.
You can find the documentation here.
Serinus is licensed under the MIT license. See the LICENSE file for more info.
If you want to contribute to Serinus, please read the CONTRIBUTING file.