You can run the project with this command:
$ dart run bin/server.dart
Server listening on port 8080
Or also you can try the demo! | Url: https://dart-rest-api-example.herokuapp.com
Endpoint: "/get" | Method: GET
Endpoint: "/add" | Method: POST | Body:
{
"name": "John Doe",
"age": 30
}
Endpoint: "/update/<id>" | Method: PATCH | Body:
{
"name": "John Doe",
"age": 30
}
Endpoint: "/delete/<id>" | Method: DELETE