Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thedevminertv/typed-at-rest
Simple typesafe HTTP handlers and clients backed by @effect/schema
https://github.com/thedevminertv/typed-at-rest
api effect-schema http nextjs typesafe
Last synced: 3 months ago
JSON representation
Simple typesafe HTTP handlers and clients backed by @effect/schema
- Host: GitHub
- URL: https://github.com/thedevminertv/typed-at-rest
- Owner: TheDevMinerTV
- License: mit
- Created: 2023-07-19T22:48:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-07T00:20:43.000Z (3 months ago)
- Last Synced: 2024-10-10T21:15:35.393Z (3 months ago)
- Topics: api, effect-schema, http, nextjs, typesafe
- Language: TypeScript
- Homepage:
- Size: 337 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `typed-at-rest`
`typed-at-rest` is a little helper utility I've developed to make it easier to work with NextJS APIs and `fetch` in the browser and to make them more type-safe.
## TODO
- [x] NextJS App Directory route handler
- [ ] React Query client
- [ ] Release on NPM and GitHub Packages
- [ ] More examples## Developing
Prerequisites:
- Node.js 18+
- Corepack (`npm i -g corepack`)```sh
corepack enable
pnpm ipnpm dev
```## Example
For examples, see the `examples/` directory.
## License
`typed-at-rest` is licensed under the MIT license, for more information please refer to the [included LICENSE file](./LICENSE).