Open alcpereira opened 2 months ago
Reuse the SignUp React component and build the app/routes/signup/route.tsx file, including an action with a redirect + setting a cookie.
SignUp
app/routes/signup/route.tsx
action
Implement the logic needed for validating the user input on the backend.
For the database:
You can use TRANSACTION to commit this change in a single shot (see this video to understand transactions).
TRANSACTION
You can take inspiration on what Trellix clone did here for the remix part.
Description
Reuse the
SignUp
React component and build theapp/routes/signup/route.tsx
file, including anaction
with a redirect + setting a cookie.Implement the logic needed for validating the user input on the backend.
For the database:
You can use
TRANSACTION
to commit this change in a single shot (see this video to understand transactions).You can take inspiration on what Trellix clone did here for the remix part.
ACs