platform/README.md
thosakwe edf1b04f9f 74
2017-04-04 04:35:36 -04:00

628 B

angel_framework

pub 1.0.0-dev.74 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();
}