angel_framework 1.0.5+1

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

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  angel_framework: "^1.0.5+1"

2. Install it

You can install packages from the command line:

$ pub get

Alternatively, your editor might support 'pub get'. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:angel_framework/angel_framework.dart';

About

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

Author

Email thosakwe@gmail.com Tobe O

Homepage

github.com/angel-dart/angel_framework

Documentation

www.dartdocs.org/documentation/angel_framework/1.0.5%2B1/

Source code (hyperlinked)

www.crossdart.info/p/angel_framework/1.0.5%2B1/

Uploader

thosakwe@gmail.com

Share