Codehagen / Dingify

Dingify is helping you unlock the power of seamless real-time monitoring
https://www.dingify.io/
GNU Affero General Public License v3.0
191 stars 25 forks source link

Initial setup Hono with Prisma #22

Closed Codehagen closed 4 months ago

Codehagen commented 4 months ago

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

  1. Go in your IDE of choice.
  2. pnpm dev
  3. See output in the console, ensuring there are no PrismaClientValidationError issues.

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 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.

Co-auther with @bachiitter

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dingify ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2024 7:18pm