lucifer 1.0.0 copy "lucifer: ^1.0.0" to clipboard
lucifer: ^1.0.0 copied to clipboard

outdated

A fast, light-weight web framework in dart.

example/lucifer_example.dart

import 'package:lucifer/lucifer.dart';

void main() async {
  final app = App();
  final port = 3000;

  app.get('/', (Req req, Res res) async {
    await res.send('Hello Detective');
  });

  await app.listen(port);
  print('Server running at http://${app.host}:${app.port}');
  app.checkRoutes();
}