Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.
/ nero Public archive

Completely deprecated - use the main framework instead

License

Notifications You must be signed in to change notification settings

angel-dart-archive/nero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nero

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

This is an experimental library, don't expect any future support.

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

About

Completely deprecated - use the main framework instead

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published