Skip to content

cdvelop/crudp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUDP

Project Badges

A JSON/binary CRUD protocol for isomorphic Go applications. Supports batch operations, SSE responses, and runs the same handler logic on both WASM frontend and Go backend.

Features

  • Isomorphic: Same handler code on frontend (WASM) and backend (Server)
  • Batch Processing: Multiple operations consolidated into single HTTP requests
  • SSE Responses: Async response delivery via Server-Sent Events
  • TinyGo Compatible: Optimized for small WASM binaries
  • Local-First: Queue-based offline support with automatic sync

Quick Start

// Handler (shared frontend/backend)
type UserHandler struct{}

func (h *UserHandler) HandlerName() string { return "user" }

func (h *UserHandler) Create(ctx context.Context, data ...any) any {
    // Backend: process and return Response
    // Frontend: update DOM and return nil
}

Documentation

Core Concepts

Guides

Reference


About

A simple binary CRUD protocol for Go structs.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •