https://github.com/yusukebe/testing-d1-app-with-types
Testing a D1 Application with Types
https://github.com/yusukebe/testing-d1-app-with-types
Last synced: about 1 year ago
JSON representation
Testing a D1 Application with Types
- Host: GitHub
- URL: https://github.com/yusukebe/testing-d1-app-with-types
- Owner: yusukebe
- Created: 2024-04-18T17:36:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T21:58:02.000Z (about 2 years ago)
- Last Synced: 2025-03-29T06:33:18.749Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testing a D1 Application with Types
This project shows how we test an application built on Cloudflare Workers with Cloudflare D1.
## Stack
- Hono - Web framework
- Cloudflare D1 - SQL database
- Drizzle ORM - ORM Mapper
- Zod - Validator
- Vitest - Test runner
- `@cloudflare/vitest-pool-workers` - Simulator for Cloudflare Environment
## Demo
https://github.com/yusukebe/testing-d1-app-with-types/assets/10682/7589e8b6-9035-4714-9de7-6af15303de4d
## Author
Yusuke Wada
## License
MIT