Skip to content

cjkihl/brpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BRPC 🚀

A lightweight, minimal RPC framework using tRPC running on Bun's native server.

Bun TypeScript tRPC Biome

Features ✨

  • Type-safe API: End-to-end type safety with tRPC
  • High Performance: Just Bun.Serve. No overhead
  • Minimal Setup: No additional web framework needed
  • Stack: TypeScript, Bun, tRPC, Biome and Vite
  • Monorepo Structure: With Nx

Prerequisites 📋

Project Structure 🏗️

📁 Root

  • 📄 package.json - Workspace configuration
  • 📄 nx.json - Nx settings
  • 📄 biome.json - Biome settings

🌐 Web Application

  • /web - Frontend Vite + React application
    • 🎯 Vanilla tRPC client
    • 🔒 Importing types from server

🔧 Server

  • /server - Bun tRPC backend
    • 🚀 Bun Http server
    • 🔒 Example TRPC routers
    • 🛠️ Cors middleware

Quick Start 🚀

# Clone the repository
git clone https://github.com/cjkihl/brpc.git

# Install dependencies
bun install

# Start development servers
bun dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors