serinus 1.0.1 serinus: ^1.0.1 copied to clipboard
Serinus is a framework written in Dart for building efficient and scalable server-side applications.
import 'package:serinus/serinus.dart';
import 'app_module.dart';
/// The [bootstrap] function is used to bootstrap the application.
/// This function creates an application and serves it.
Future<void> bootstrap() async {
final app = await serinus.createApplication(
entrypoint: AppModule(), host: '0.0.0.0', port: 3000);
await app.serve();
}