https://github.com/rxlabz/proto_dl
shelf static handler example
https://github.com/rxlabz/proto_dl
Last synced: over 1 year ago
JSON representation
shelf static handler example
- Host: GitHub
- URL: https://github.com/rxlabz/proto_dl
- Owner: rxlabz
- Created: 2023-04-13T08:29:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T08:32:42.000Z (over 3 years ago)
- Last Synced: 2025-03-09T15:08:49.697Z (over 1 year ago)
- Language: JavaScript
- Size: 5.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
A server app built using [Shelf](https://pub.dev/packages/shelf),
configured to enable running with [Docker](https://www.docker.com/).
This sample code handles HTTP GET requests to `/` and `/event/`
# Running the sample
## Running with the Dart SDK
You can run the example with the [Dart SDK](https://dart.dev/get-dart)
like this:
```
$ dart run bin/server.dart
Server listening on port 8080
```
Open your browser :
- http://localhost:8080
- http://localhost:8080/event/546
-
- http://localhost:8080/event/546?memberId=321