In a Nutshell
Serinus is a minimalistic framework for building efficient and scalable server-side applications powered by Dart.
Designed to be easy to use, flexible and extensible to cover all the needs of a modern server-side application.
In a nutshell, Serinus is a framework that gets out of your way and lets you focus on building your application.
Here is the simplest example of a Serinus application:
dart
import 'package:serinus/serinus.dart';
Future<void> main() async {
final app = await serinus.createApplication(
entrypoint: AppModule());
await app.serve();
}
dart
import 'package:serinus/serinus.dart';
class AppModule extends Module {
AppModule(): super(
controllers: [AppController()],
);
}
dart
import 'package:serinus/serinus.dart';
class AppController extends Controller {
AppController(): super(path: '/') {
on(Route.get('/'), (RequestContext context) async => 'Hello, World!');
}
}
Our Community
Serinus is a community-driven project so, if you have any questions, need help, or want to contribute to the project, feel free to join our community on Discord.