Skip to content

hectorddmx/dart-budyboss-activities-get-dio-cli-example

Repository files navigation

A sample command-line application with an entrypoint in bin/, library code in lib/, and example unit test in test/.

  1. First install dependencies
dart pub get
  1. Next run! and enjoy!
dart run

And while debugging, I get this: image

Notes

Generated DTO with: https://app.quicktype.io/
From this URL: https://online-communities.demos.buddyboss.com/wp-json/buddyboss/v1/activity
From this online demo: https://online-communities.demos.buddyboss.com
Looking at this docs: https://www.buddyboss.com/resources/api/

Env

Tested on macOS

$ dart --version
Dart SDK version: 3.0.4 (stable) (Wed Jun 7 14:55:32 2023 +0000) on "macos_arm64"

And created this repo with:

brew install asdf
asdf plugin-add dart https://github.com/patoconnor43/asdf-dart.git
asdf install dart 3.0.4
asdf local dart 3.0.4
asdf info
asdf current
which dart
dart --version
dart create -t console dart-budyboss-activities-get-dio-cli-example
cd dart-budyboss-activities-get-dio-cli-example/
git init
git add .
git commit -m "feat: first commit"
gh repo create "dart-budyboss-activities-get-dio-cli-example" --public --push --source .
dart pub add dio
dart pub get
code .
dart run

About

Small demo to understand a friends error message.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages