Uvacoder / demo-typesafe-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build a typesafe API — no GraphQL required

This is a demo repo showing how to implement a typesafe API without code generation or GraphQL. It is a companion to a blog post I wrote, check it out for a detailed walkthrough of how this approach works:

https://colinhacks.com/essays/graphql-is-obsolete

Usage

  • git clone git@github.com:colinhacks/typesafe-api-no-graphql.git
  • cd typesafe-api-no-graphql
  • yarn (install dependencies)
  • yarn dev

About


Languages

Language:TypeScript 100.0%