Task: Implement the API route for user registration.
Details:
Objective: Enable new users to register by adding their information to the users table.
Steps:
Define an API route handler to process POST requests.
Extract user details (name, date of birth, pronoun, email) from the request body.
Use the Supabase client to insert the new user data into the users table.
Task: Implement the API route for user registration. Details: Objective: Enable new users to register by adding their information to the users table. Steps:
Files: src/app/auth/api/register.ts