73029fb28ad5fde078ceb6a592ff42124b4bc98e
Next.js App Router Course - Starter
This is the starter template for the Next.js App Router Course. It contains the starting code for the dashboard application.
For more information, see the course curriculum on the Next.js Website.
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
Database structure
- month
- location
- bill
- attachment
- bill
- location
Description
Languages
JavaScript
74.7%
TypeScript
24.3%
Shell
0.9%