nero 1.0.0-dev+2 copy "nero: ^1.0.0-dev+2" to clipboard
nero: ^1.0.0-dev+2 copied to clipboard

outdated

Microframework based on Express and angel_route.

nero #

Microframework based on Express and angel_route. This framework is unrelated to Angel.

Documentation soon to come.

main() {
  final app = new Nero();
  
  app.get('/', (req) => new Response.text('Hello, world!'));
  
  app.chain((req, next) async {
    req.properties['user'] = await someQuery(req.params.id);
  }).get('/user/:id', (req) {
    return new Response.json(req.user);
  });
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Microframework based on Express and angel_route.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

angel_route, body_parser, heaven, json_god, mime, path

More

Packages that depend on nero