Build and Deploy a gRPC-Web App Using Rust Tonic and React

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • movies-rust-grpc

    a simple rust application that serves movies over a grpc endpoint

  • gRPC API written in Rust

  • movies-react

    a simple react application that consumes a gRPC api

  • On the following screen, select GitHub as the deployment method and click the repository for the frontend React application from your repository list. Alternatively, you can use the example repo for this service which contains the same code we've discussed by putting https://github.com/filhodanuvem/movies-react in the Public GitHub repository field.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Protobuf

    Protocol Buffers - Google's data interchange format

  • The protobuf compiler installed on your local computer. We will use this to generate the language-specific stubs from our data format.

  • Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  • Our react application will show a list of movies on a page. To speed up the process of styling it, we are going to use Tailwind CSS. Install the necessary packages and initialize Tailwind by typing:

  • grpc-web

    gRPC for Web Clients

  • By default, web browsers do not support gRPC, but we will use gRPC-web to make it possible.

  • gRPC

    The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

  • gRPC is a modern, high performance remote procedure call (RPC) framework that can be run in any environment. Built on protocol buffers (commonly called protobufs), gRPC is extensible and, efficient, and has wide support in many languages and runtimes. You can take a look at our what is gRPC post to learn more.

  • grpcurl

    Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

  • The API server will be built and start running on port 50051. You can test the functionality using a gRPC client of your choice like grpcurl or Postman.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts