Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/speakeasy-sdks/tsv2-webinar
https://github.com/speakeasy-sdks/tsv2-webinar
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/speakeasy-sdks/tsv2-webinar
- Owner: speakeasy-sdks
- Created: 2024-01-30T13:52:16.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-01-30T17:38:58.000Z (9 months ago)
- Last Synced: 2024-04-28T05:14:54.868Z (6 months ago)
- Language: TypeScript
- Size: 84 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Speakeasy webinar: TypeScript and Zod with Colin McDonnell
- `./sdk`: a sample TypeScript SDK generated by Speakeasy
- `./app`: an app that uses the SDK## Setup
1. Clone this repo
2. In `./sdk`, run `npm install`
3. In `./app`, run `npm install`
4. In `./app`, run one of the following:
- `npm run pets`: demo how unions (oneOf) are handled
- `npm run banking`: demo of pagination using async generators
- `npm run llm`: demo of chatting with an LLM (requires [llamafile server](https://github.com/Mozilla-Ocho/llamafile))