dart_webserver 0.2.1 dart_webserver: ^0.2.1 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);
}