https://github.com/2hgo/elm-grpc
https://github.com/2hgo/elm-grpc
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/2hgo/elm-grpc
- Owner: 2HgO
- Created: 2020-07-18T09:08:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T09:16:56.000Z (almost 6 years ago)
- Last Synced: 2025-03-01T19:14:36.448Z (over 1 year ago)
- Language: Elm
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Elm-gRPC
In a bid to replace all the direct javascript and html code in [gRPC-streaming](https://github.com/2HgO/grpc-streaming), I'm trying out using elm with gRPC. Implementing Remote Procedure Calls (RPC) in elm seems like an Herculian task at the moment and I am yet to find an implementation (only encoders and decoders of models to and from protobuf messages). With that in mind, I've decided to use gRPC-json with an envoy proxy.
## Overview
This project is just a proof of concept showing how elm can be used with grpc. All it does is make a request to the hello service (implemented in Go) on each key input in the text field and displays the response message from the service.
## Requirements
- Docker
- docker-compose
## Installation
To run this application, just pull the source from this repo and run the following command
```bash
docker-compose up --build
```
The app should be running at [elm-gprc](http://localhost:55099/src/Main.elm). If it displays an error, go [here](http://localhost:55099) and follow the path from there.