Code Monkey home page Code Monkey logo

grpc-vs-rest's Introduction

grpc-vs-rest

Preview App

Go to the app's website.

This is a simple application that requests an image from two distinc backends with two distinct databases.

Screenshot App

Contributing

Anyone can contribute to this project, read the CONTRIBUTING.md to get started.

Project Overview

This is a simple app meant to show the differences between doing REST vs gRPC Web Streaming vs gRPC Web Unary calls from the frontend to backend services. The gRPC backend uses envoy to translate the requests to the frontend. The application is running in Istio to make the gRPC configuration manageable.

Architecture

Architecture

Code Base

This section is meant to give an overview of the repository structure and how to navigate our code base.

The repository is split up into:

  • frontend - react app that uses axios and gRPC web
  • rest-backend - http server written in go
  • grpc-backend - gRPC server written in go

Prerequisites

The following assets are required locally to run this application.

  • Node v14
  • Go 1.16
  • mongo 5.0.2 (version is flexible)

grpc-vs-rest's People

Contributors

cmwylie19 avatar xroll avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

xroll

grpc-vs-rest's Issues

Contributing.md

Is your feature request related to a problem? Please describe.
There is no document to show contributors how to contribute to this project.

Describe the solution you'd like
Add a CONTRIBUTING.md file with contribution guidelines to your repository.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Application Logo

Is your feature request related to a problem? Please describe.
Create a logo for the application.

Describe the solution you'd like
A logo with a transparent background in the following sizes:

  • 512x512
  • 192x192
  • 64x64

Describe alternatives you've considered
Purchasing one or doing one myself

Additional context
Add any other context or screenshots about the feature request here.

Frontend Wireframe - Looking for designer

Is your feature request related to a problem? Please describe.
Wireframes for a frontend. The requirement is the application will have a button, when the user clicks the button, cards will populate with images over rest and over gRPC at the same time, showing the user the differences in loading speed.

Describe the solution you'd like
A wireframe in sketch from a talented designer. The wireframe will be implemented in Material-ui

Describe alternatives you've considered

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.