Angel.secure, fallback routes, 404, app.addRoute, app.all, services are a go (just missing params, i.e. $sort?), now have service.app, app.before, app.after, angel.configure now uses futures, errors are implemented
2016-04-29 00:01:58 +00:00
|
|
|
# angel_framework
|
2016-06-21 22:56:04 +00:00
|
|
|
|
2017-02-25 00:16:31 +00:00
|
|
|
[](https://pub.dartlang.org/packages/angel_framework)
|
2016-12-19 01:43:35 +00:00
|
|
|
[](https://travis-ci.org/angel-dart/framework)
|
2016-06-21 22:56:04 +00:00
|
|
|
|
2017-01-12 01:52:06 +00:00
|
|
|
Core libraries for the Angel Framework.
|
|
|
|
|
|
|
|
```dart
|
|
|
|
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();
|
|
|
|
}
|
|
|
|
```
|