Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/panthershark/grpc-monorepo
- Owner: panthershark
- Created: 2024-07-31T15:53:02.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T16:14:00.000Z (4 months ago)
- Last Synced: 2024-08-27T18:42:52.387Z (4 months ago)
- Language: TypeScript
- Size: 75.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 terminalTo 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/