HashiCorp’s Terraform
Terraform Flutter app using DhiWise, Terraform and OneSignal
Generated with ❤️ from DhiWise
This is the documentation of Flutter Applications.
About App
Using a mobile app, configure Terraform. you can create an organization, create workspaces, run the task, or cancel the task, and if you cancel the job, you will be notified through SMS and more.
Features
- Create new organization
- Create a new workspace within the organization
- Add configuration version
- Upload configuration file to Terraform
- Check examples of different configurations file with their providers(kreuzwerker/docker for docker)
- Run the task
- Add the comments and check the comments
- List of all the organization
- Cancel the task
- Send SMS on canceling the task
Third party packages Used
- fluttertoast
- clipboard
- file_picker
Screenshots
System Requirements
- Dart SDK Version 2.17.0 or greater.
- Flutter SDK Version 3.0.0 or greater.
Figma design guideline for better accuracy
Read our guidelines to increase the accuracy of design conversion to code by optimizing Figma designs.
https://docs.dhiwise.com/knowledgehub/reference-guide-and-tools/figma
App Navigations
Check your app’s UI from the AppNavigation screen of your app.
Project Structure
After successful build, your application structure should look like this:
├── android - contains files and folders required for running the application on an Android operating system.
├── assets - contains all images and fonts of your application.
├── ios - contains files required by the application to run the dart code on iOS platforms.
├── lib - Most important folder in the project, used to write most of the Dart code.
├── main.dart - starting point of the application
├── core
│ ├── app_export.dart - contains commonly used file imports
│ ├── constants - contains all constants classes
│ ├── errors - contains error handling classes
│ ├── network - contains network related classes
│ └── utils - contains common files and utilities of project
├── data
│ ├── apiClient - contains API calling methods
│ ├── models - contains request/response models
│ └── repository - network repository
├── localization - contains localization classes
├── presentation - contains all screens and screen controllers
│ └── screens - contains all screens
├── routes - contains all the routes of application
└── theme - contains app theme and decoration classes
└── widgets - contains all custom widget classes
How you can do code formatting?
- if your code is not formatted then run following command in your terminal to format code
dart format .
How to run
-
Add Terraform token in TerraformConstant.dart file
-
Add appId, smsFrom and Token in SMSConstant.dart file
-
Add UserId and TeamId in api_client.dart file
Steps for run
- Create organization
- Create workspace
- Add configuration version
- upload configuration.tf file
- run the app
- add comment or cancel the task
Get more about app?
- Documetation –
- Medium blog-
MIT License
Copyright (c) 2022 DhiWise
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Comments are closed.