Closed Yousuf24100286 closed 1 month ago
Branch: feature/user-auth-api Base Branch: dev
feature/user-auth-api
dev
Building custom User Auth API using Next.js route handler
user
account
session
/api/account/signup
/api/account/signin
POST /api/account/signout
Branch:
feature/user-auth-api
Base Branch:
dev
Description
Building custom User Auth API using Next.js route handler
Changes Made
user
table toaccount
table and added further fields for account related actions.session
table for handling user sessions./api/account/signup
- creates a new user/api/account/signin
- creates new user session and stores it in the cookie