{"repo":"siddarthkay/react-native-go","free":true,"listed":false,"github":"https://github.com/siddarthkay/react-native-go","clone":"git clone https://github.com/siddarthkay/react-native-go.git","description":"A starter template with react-native and golang to demonstrate communication between a golang backend and a react-native client.","language":"TypeScript","stars":34,"topics":[],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Native + Go Backend A React Native application demonstrating communication with a local Go HTTP server using JSI and JSON-RPC 2.0. Overview This project showcases how to build a fast mobile application where: - React Native handles the UI with the New Architecture (Fabric + TurboModules) - Go runs as an embedded HTTP server providing JSON-RPC APIs - Native modules manage the Go server lifecycle - Business logic is handled via JSON-RPC calls over HTTP Prerequisites Option A: Nix (recommended) If you have Nix installed, everything is provided automatically: The Nix flake provides Node.js, Go, JDK 17, Android SDK, CocoaPods, gomobile, and all other dependencies — no manual installation needed. Option B: Manual setup - Node.js 20.19.4+ (or 22+) - Yarn 4 (via Corepack): corepack enable - Go 1.25+ - iOS: Xcode 16+, CocoaPods - Android: Android Studio, JDK 17+ Create a New Project The CLI scaffolds a new project with your app name, bundle ID, and Go module — fully configured and ready to build. Quick Start Setup Install Go toolchain (gomobile) and Node dependencies: Build & Run iOS: Android: Run make help to see all available targets. Each sub-project also has its own Makefile: Development Mode For iterative development with hot reload: Project Structure How It Works Native Layer (TurboModule) The native modules expose 3 synchronous methods via JSI: Go Backend Layer The Go backend provides a mobile API for lifecycle management: And handles business logic via JSON-RPC: JavaScri","default_branch":null,"files":null,"tree":[],"storefront":"/r/siddarthkay","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/siddarthkay/react-native-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}