Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdalftahsalem/thunder-cli
This project is a Flutter application scaffolded with GetX and follows the MVC (Model-View-Controller) architecture.
https://github.com/abdalftahsalem/thunder-cli
flutter
Last synced: about 2 months ago
JSON representation
This project is a Flutter application scaffolded with GetX and follows the MVC (Model-View-Controller) architecture.
- Host: GitHub
- URL: https://github.com/abdalftahsalem/thunder-cli
- Owner: AbdAlftahSalem
- License: mit
- Created: 2023-09-04T18:52:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-06T22:40:59.000Z (2 months ago)
- Last Synced: 2024-11-06T23:28:37.591Z (2 months ago)
- Topics: flutter
- Language: Dart
- Homepage: https://pub.dev/packages/thunder_cli
- Size: 523 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚡ Flutter GetX MVC Project
This project is a Flutter application scaffolded with GetX ( BloC working in it ... ) and follows the MVC (
Model-View-Controller) architecture.## 💻 How to Use Thunder CLI
To streamline the process of creating project structures and modules, we've developed a command-line tool called Thunder
CLI. It simplifies the setup of your Flutter project. Below are the available commands and their usage:## 📌 Installation
To install Thunder CLI, run the following command:
```bash
dart pub global activate thunder_cli
```## 🧑🏻💻 Commands
## Usage
To create and initialize a new Flutter project [ Folders and packages ] with Thunder CLI, use the following command:
```shell
thunder --init
```This command will set up the following components for your project:
- Main File
- Components for Application (e.g., animated widgets, snackbar)
- Themes (Dark and Light)
- Constants (e.g., colors, strings)
- Routes and App Pages
- Local storage
- Remote storage
- Awesome Notification
- FCM
- Dio Base Client
- Translations (e.g., localization service, strings)
- Publish app to GitHub
- Open the folder in VS code
- Setup GitHub action
- Setup flavorTo create a new Feature , use the following command:
```shell
thunder --feature
```This command will set up the following components for your module:
- Binding
- Controller
- View
- Add view in routes and app pagesTo create a new model via url (e.g., https://jsonplaceholder.typicode.com/posts), use the following command:
```shell
thunder --model
```This command will set up the following components for your model:
- Model
- Named constructor
- FromJson
- ToJson```shell
thunder --c_api
```This command will auto convert api collection to code :
- Read all variables from collection
- Extract all request
- Add all api routes to api_contents.dart
- Build body model for all requests
- Build response model for all requests
- Build repos for all requests
- Build basic controller for all requestsTo show help, use the following command:
```shell
thunder --h
```## 🏛️ Project Structure
The project structure URL :
```
https://github.com/abdAlftahSalem/flutter_getx_template.git
```[Thunder CLI on pub.dev](https://pub.dev/packages/thunder_cli)
## 📨 Contact with me
[Whats App](https://wa.me/00972598045064) ||
[Telegram](https://t.me/Abd_Alftah_Al_shanti)## Contributing
Feel free to contribute to this project by opening issues, suggesting new features, or submitting pull requests.
## License
This project is licensed under the MIT License.
---