dart_webserver 0.1.2 dart_webserver: ^0.1.2 copied to clipboard
A basic HTTP server framework built in Dart inspired by expressjs.
import 'package:dart_webserver/dart_webserver.dart';
void main() async {
final app = WebServer();
app.get('/', (req, res) {
return 'Hello, World';
});
await app.listen(3000);
}