Implementing REST API for Hono with Prisma integration. This PR addresses the issue of setting up Prisma with Hono, particularly resolving the PrismaClientValidationError related to the client engine type.
What type of PR is this? (check all applicable)
[x] 💡 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert
Related Tickets & Documents
This PR fixes #21
Steps to QA
Go in your IDE of choice.
pnpm dev
See output in the console, ensuring there are no PrismaClientValidationError issues.
Added to documentation?
[x] 📜 README.md
[ ] 🙅 no documentation needed
Additional Context
We've encountered an issue with the Prisma client engine type while integrating it with Hono. The error message suggests using library or binary as the engine type. This PR includes the necessary configuration changes to resolve this issue, ensuring smooth operation with Hono. See the attached [error screenshot](path/to/Screenshot 2024-05-14@2x.png) for reference.
Description
Implementing REST API for Hono with Prisma integration. This PR addresses the issue of setting up Prisma with Hono, particularly resolving the
PrismaClientValidationError
related to the client engine type.What type of PR is this? (check all applicable)
Related Tickets & Documents
This PR fixes #21
Steps to QA
pnpm dev
Added to documentation?
Additional Context
We've encountered an issue with the Prisma client engine type while integrating it with Hono. The error message suggests using
library
orbinary
as the engine type. This PR includes the necessary configuration changes to resolve this issue, ensuring smooth operation with Hono. See the attached [error screenshot](path/to/Screenshot 2024-05-14@2x.png) for reference.Co-auther with @bachiitter