sevr 1.0.0 sevr: ^1.0.0 copied to clipboard
A starting point for Dart libraries or applications.
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! 😀