2024-01-05 09:13:08 +01:00
2024-01-08 15:17:18 +01:00
2024-01-08 15:17:18 +01:00
2023-12-27 15:45:49 +01:00
2024-01-06 10:50:27 +01:00
2023-12-27 15:45:49 +01:00
2023-12-27 15:45:49 +01:00
2024-01-06 10:50:27 +01:00
2024-01-05 14:26:09 +01:00
2023-12-27 15:45:49 +01:00
2023-12-27 15:45:49 +01:00
2024-01-07 13:08:29 +01:00
2023-12-27 15:45:49 +01:00

ToDo

Authentication

Authentication consists of the following parts:

  • next-auth boilerplate
    • middleware.ts = hooks-up next-auth into the page processing pipeline
      • auth.config.ts = defines how user session is to be checked and redirects anonymous user to login page
    • auth.ts = verifies user credentials during the log-in action (i.e. against a database)
      • exports auth, signIn, signOut actions
  • UI boilerplate
    • sidenav.tsx = implements logout action - calls signOut from auth.ts
    • login-form.tsx = implements login form
    • actions.ts = handles login-form validation and submition - calls signIn from auth.ts
Description
No description provided
Readme 9.4 MiB
Languages
JavaScript 74.7%
TypeScript 24.3%
Shell 0.9%