Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/panthershark/grpc-monorepo

Monorepo starter for Go, Google GRPC, and react.
https://github.com/panthershark/grpc-monorepo

Last synced: about 2 months ago
JSON representation

Monorepo starter for Go, Google GRPC, and react.

Awesome Lists containing this project

README

        

# Overview

This monorepo shows how to setup a basic GRPC server using Go and a simple frontend using Preact.

## Hacking

To run the backend, create a local database container, then migrate up.

1. Run either `go run cmd/server/main.go` or `make run` from the api folder.
2. To test the GRPC calls, run `grpcui -plaintext localhost:4011` in another terminal

To run the frontend, start from the `./frontend` folder.

```shell
npm install
npm run dev -w app
```

Open the link in the terminal, typically http://localhost:8081/