platform/README.md
thosakwe 94886bca13 73
2017-04-03 15:43:27 -04:00

628 B

angel_framework

pub 1.0.0-dev.73 build status

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

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();
}