Skip to content

A set of tools and libraries for building typesafe grpc and http apis, based on protobuffers.

Notifications You must be signed in to change notification settings

malcolmsgroves/types-first-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Types-First API

Tools and libraries to build & maintain api services with an emphasis on types and type-safety. Built with protobuffers, typescript, rxjs. Generates typesafe interfaces from protobuffer service definitions, and includes functioning client and server implementations for GRPC and HTTP transports.

Packages include

  • Core - Should not be required directly, but will be included with the packages below. Includes the shared interfaces and constructs.
  • CLI - generates interfaces from protobuffer files.
  • HTTP Server
  • HTTP Client
  • GRPC Server
  • GRPC Client

TODO:

  • Cancellation
  • Deadlines
  • Error propagation

About

A set of tools and libraries for building typesafe grpc and http apis, based on protobuffers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.2%
  • JavaScript 0.8%