Small React app demonstrating usage of several patterns for consuming REST endpoints with TypeScript:
- Type generation from OpenAPI specification with
openapi-types
- Isolating Data Transfer Objects from domain types
- Using
AsyncResult
for explicit loading and error states
Clone the repo and run:
npm install
npm run dev