You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Create the GET HTTP Request API Route Handler to get an instance of a user. If you need an example of a GET handler with Prisma, look under resources in Sprint 1 Google doc. You can expect to the data to be in the request body and it will be coming from a form submission. Research and implement querying the database with a specific field (an email) utilizing Prisma.
Steps:
Create a new folder under api named "user". Within that folder create a new route.ts file.
Within that new route.ts file, create the GET function to get the data of a user from the database.
The text was updated successfully, but these errors were encountered:
Description
Create the GET HTTP Request API Route Handler to get an instance of a user. If you need an example of a GET handler with Prisma, look under resources in Sprint 1 Google doc. You can expect to the data to be in the request body and it will be coming from a form submission. Research and implement querying the database with a specific field (an email) utilizing Prisma.
Steps:
The text was updated successfully, but these errors were encountered: