This repository has been archived by the owner on May 15, 2024. It is now read-only.
Migrate to NextJS v14
No due date
50% complete
- LoginForm
- use react-hook-form for validation in
LoginForm
- use
zod
for schema validation forLoginForm
- use react-hook-form for validation in
- NextAuth
- replace iron-session with NextAuth
- store authentication properties ONLY on server side
- when sending GET request for session, return only ip address
- update API endpoints to use NextAuth
- update NextJS middleware to reject request if the user i…
- LoginForm
- use react-hook-form for validation in
LoginForm
- use
zod
for schema validation forLoginForm
- use react-hook-form for validation in
- NextAuth
- replace iron-session with NextAuth
- store authentication properties ONLY on server side
- when sending GET request for session, return only ip address
- update API endpoints to use NextAuth
- update NextJS middleware to reject request if the user is not authenticated
- when sending POST request for authentication, use sha256sum on the password property
- use ZOD to validate IP address
- rearrange nextjs src files
- move files to use NextJS App dir