PenCraft: React frontend, Cloudflare Workers backend. Features Prisma for DB, JWT for auth, and Tailwind CSS with Aceternity UI components for styling. Simplifying blogging with efficiency.
Description: The sign-up and sign-in APIs are currently not functioning on the local development server when using Prisma Accelerate. This is a critical bug that prevents user authentication from working properly in the local environment.
Steps to Reproduce:
Clone the repository and set up the local environment as per the instructions in the README.md.
Run the local server.
Attempt to use the sign-up/sign-in functionality through the API endpoints.
Expected Behavior: The API should allow users to sign up and sign in without issues.
Actual Behavior: Both the sign-up and sign-in APIs fail with errors related to Prisma Accelerate. The exact error message and logs can be checked in the local environment.
Relevant Files:
wranger.toml
put any database url fron neon db.
Additional Context: This issue appears to be specific to the local development environment and might be related to Prisma Accelerate. Due to time constraints, I cannot dive deeper into the issue right now. Contributions are welcome to debug and fix the issue.
Suggestions : Try to test apis in postman log errors, and then try to solve it.
Description: The sign-up and sign-in APIs are currently not functioning on the local development server when using Prisma Accelerate. This is a critical bug that prevents user authentication from working properly in the local environment.
Steps to Reproduce:
Expected Behavior: The API should allow users to sign up and sign in without issues.
Actual Behavior: Both the sign-up and sign-in APIs fail with errors related to Prisma Accelerate. The exact error message and logs can be checked in the local environment.
Relevant Files:
Additional Context: This issue appears to be specific to the local development environment and might be related to Prisma Accelerate. Due to time constraints, I cannot dive deeper into the issue right now. Contributions are welcome to debug and fix the issue. Suggestions : Try to test apis in postman log errors, and then try to solve it.