https://github.com/salihcanbinboga/grpc_client_flutter
This project demonstrates how to create a gRPC client in Flutter.
https://github.com/salihcanbinboga/grpc_client_flutter
dart flutter flutter-app flutter-apps flutter-examples grpc grpc-client
Last synced: 3 months ago
JSON representation
This project demonstrates how to create a gRPC client in Flutter.
- Host: GitHub
- URL: https://github.com/salihcanbinboga/grpc_client_flutter
- Owner: SalihCanBinboga
- License: mit
- Created: 2023-03-30T16:47:12.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-31T13:33:00.000Z (about 3 years ago)
- Last Synced: 2025-01-19T02:40:01.649Z (about 1 year ago)
- Topics: dart, flutter, flutter-app, flutter-apps, flutter-examples, grpc, grpc-client
- Language: Dart
- Homepage: https://salihcanbinboga.medium.com/
- Size: 3.79 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flutter gRPC Client Example
This project demonstrates how to create a [gRPC](https://grpc.io/ "gRPC") client in Flutter. The project uses the grpc package from pub.dev to create the client.
Server implementation source code can be found [here](https://github.com/SalihCanBinboga/basic_grpc_typescript_example "here").
## Articles
- [What is gRPC?](https://salihcanbinboga.medium.com/grpc-nedir-1-1a9dcc525750 "What is gRPC?")
- [Create API with gRPC](https://salihcanbinboga.medium.com/typescript-ile-grpc-sunucu-olu%C5%9Fturmak-4ae21a394eab "Create API with gRPC")
- Flutter gRPC Client Integration

## Getting Started
To run the project, you will need to have Flutter and Dart installed on your machine. You can download the latest version of Flutter from the [official website](https://docs.flutter.dev/get-started/install "official website").
#### Installing Dependencies
After cloning the repository, you can install the required dependencies by running the following command:
```bash
flutter pub get
```
#### Running the Application
To run the application, you can use the following command:
```bash
flutter run
```
#### Generate RPC Classes
To generate RPC classes you can use the following command:
```bash
cd $PROJECT_ROOT
cd scripts
sh proto_generator.sh
```
## Contributing
Contributions are welcome! Please feel free to submit a pull request.
## License
This project is licensed under the MIT License. See the [LICENSE](https://github.com/SalihCanBinboga/grpc_client_flutter/blob/master/LICENSE "LICENSE") file for details.