Skip to content

gRPC API Server of the static personal website for Christopher Scholz, which is build with Tonic.

License

Notifications You must be signed in to change notification settings

christopherscholz/rust_grpc_website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Multi-Page-Website with client server separation using a gRPC-web API for Christopher Scholz build with Tonic.

  • grpc-web Client: Express, React, ReactRouter, grpc-web to create the different pages
  • gRPC-web Server: Tonic, Tonic-Web which sets up gRPC-web over http/1.1

The app can be run locally or via docker.

Running locally is a bit of a hassle, as you need to download the correct versions. Protobuf-Javascript even needs to be compiled, as the current release does not work properly.

Prerequisites for local setup (docker sets them up automatically)

For the local setup run

  • server
    cd server
    cargo run
    
  • client (using react-script)
    cd client
    npm install
    npm start
    
  • client (using express)
    cd client
    npm install
    npm run build
    cd express
    npm install
    npm start
    

For the docker setup run

docker-compose up

About

gRPC API Server of the static personal website for Christopher Scholz, which is build with Tonic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published