shade 0.1.0 shade: ^0.1.0 copied to clipboard
A fast and flexible Microservice oriented HTTP Server framework for dart.
import 'package:shade/shade.dart';
import 'person_service.dart';
import 'person_controller.dart';
void main() {
var appBuilder =
ApplicationBuilder()
..addPreware(JsonBodyParser)
..addAllInjections({
"PersonService": PrimaryPersonService
})
..addAllControllers([
PersonController
]);
var app = appBuilder.build();
app.listen(8000, () => print("Listening on port 8000"));
}