angel_framework 1.0.8 copy "angel_framework: ^1.0.8" to clipboard
angel_framework: ^1.0.8 copied to clipboard

outdated

A high-powered HTTP server with DI, routing and more.

angel_framework #

Pub build status

A high-powered HTTP server with support for dependency injection, sophisticated routing and more.

This is the core of the Angel framework. To build real-world applications, please see the homepage.

import 'package:angel_framework/angel_framework.dart';

main() async {
  var app = new Angel();

  app
    ..get('/hello', (req, res) {
      res.write('world!');
    })
    ..post('/date', () => new DateTime.now().toString());

  await app.startServer();
}