platform/README.md
thosakwe 82ead161b3 +1
2017-06-11 12:57:36 -04:00

625 B

angel_framework

pub 1.0.3+1 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();
}