francescovallone / serinus

Serinus is a minimalistic framework for building efficient and scalable backend applications powered by Dart. 🎯
https://serinus.app
MIT License
41 stars 3 forks source link
backend dart dartlang server

Serinus Logo

codecov melos GitHub Actions Workflow Status Discord CodeFactor

Serinus is a framework written in Dart for building efficient and scalable server-side applications.

Getting Started

Packages

Package Version
serinus Pub Version
serinus_cli Pub Version
serinus_config Pub Version
serinus_swagger Pub Version
serinus_cors Pub Version
serinus_rate_limiter Pub Version
serinus_serve_static Pub Version

Installation

To install Serinus you can use the following command:

dart pub global activate serinus_cli

Create a new project

serinus create <project_name>

Run the project

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.

Documentation

You can find the documentation here.

License

Serinus is licensed under the MIT license. See the LICENSE file for more info.

Contributing

If you want to contribute to Serinus, please read the CONTRIBUTING file.