sevr 1.0.1 copy "sevr: ^1.0.1" to clipboard
sevr: ^1.0.1 copied to clipboard

outdated

A library to easily create http servers with Dart and perform Http requests.

A library for building REST APIs easily with Dart modeled after Express JS for Node Js.

The library is still a work in progress and open to contribution.

Created with StageHand - license.

Inspiration #

Our inspiration is the simplicity of express js 👏.

Usage #

A simple usage example:

import 'package:sevr/sevr.dart';

main() {
  var serv = Sevr();

  serv.get('/test',[(req,res){
    return res.status(200).json({'status':'ok'});
  }]);
  
  serv.listen(3000,callback: (){
    print('Listening on ${3000}');
  });
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

Contributing #

Fork the repo, clone and raise your pull requests against the dev branch, We look forward to your your commits! 😀

16
likes
0
pub points
42%
popularity

Publisher

unverified uploader

A library to easily create http servers with Dart and perform Http requests.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

body_parser, http_parser

More

Packages that depend on sevr