Skip to content

rerun0510/flutter_grpc_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

flutter_grpc_sample πŸš€πŸ’™

This is a sample for Flutter and gRPC Server for Dart. This project requires Docker and Melos to be installed.

To install Melos, run the following command:

dart pub global activate melos

Start up a project

Please follow the steps below in the root directory.

  1. Resolving dependencies

    melos bs
    
  2. Start a Redis server

    docker compose up -d
    
  3. Start a gRPC server

    melos run server
    

If the following log is output to the console, the startup is successful.

Server listening on port 8080...

Generating code from a proto file

Please follow the steps below in the root directory.

  • lint
    melos run pb:lint
    
  • format
    melos run pb:format
    
  • generate
    melos run pb:gen
    
  • execute all
    melos run pb:all
    

About

πŸš€πŸ’™ This is a sample for Flutter and gRPC Server for Dart.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors