pocketbase_plus

Last updated:

0 purchases

pocketbase_plus Image
pocketbase_plus Images
Add to Cart

Description:

pocketbase plus

Pocketbase Plus 🚀 #
Say goodbye to manual PocketBase model generation and let Pocketbase Plus do the heavy lifting! 😎
Installation inside your project #
install as dev dependency with:
dart pub add 'dev:pocketbase_plus:{"git":"https://github.com/seifalmotaz/pocketbase_plus"}'
copied to clipboard
or
dart pub add dev:pocketbase_plus
copied to clipboard
How It Works #

Create a pocketbase.yaml in your project or directly inside your pubspec.yaml.
Fill it with your secret sauce like this:

pocketbase:
hosting:
domain: 'https://your-pocketbase-domain.com'
email: '[email protected]'
password: 'your-password'
output_directory: './lib/models' # Optional, default is './lib/models'
copied to clipboard

Run the magic:

dart run pocketbase_plus:main
copied to clipboard
You can specify the configuration file path (e.g.: your pubspec.yaml) using the --config or -c option:
dart run pocketbase_plus:main --config pubspec.yaml
copied to clipboard
Quick help: (-h or --help)
dart run pocketbase_plus:main --help
copied to clipboard
And boom 💥! Your models are ready to roll!
Happy coding! ✨
Next Steps #

Support for additional file types.
Auto-generate CRUD functions directly within the models.
Implement static list functions for fetching multiple records from the model.

More awesome features coming soon... Stay tuned!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.