1.0 KiB
1.0 KiB
ToDo
- infinite scroll
- authentication with Google
- bill amount entry
- monthly bill amount summery
- build & deploy via docker
Authentication
Authentication consists of the following parts:
next-authboilerplatemiddleware.ts= hooks-upnext-authinto the page processing pipelineauth.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,signOutactions
- exports
- UI boilerplate
sidenav.tsx= implements logout action - callssignOutfromauth.tslogin-form.tsx= implements login formactions.ts= handles login-form validation and submition - callssignInfromauth.ts