Adding authentication to an app is a process always filled with decisions. This one is a good old proof of concept on getting Authentication and Authorization working on a Solid-Start app. Storing users in your database, validating data and keeping dependencies to a minimum!
Chapters
00:00 - Hello!
00:21 - Introduction: Why are we doing this?
00:54 - Dependencies Review
01:36 - Reviewing what we did/have
01:48 - Setup and schemas
04:38 - Coding the Session management and storage
08:58 - Connecting to our Database
15:03 - Login Action on root ("/")
16:51 - Add Route Data to the root ("/") page
18:15 - Protecting Routes with a Middleware
20:50 - Logout with Server Actions
23:35 - Testing our app
24:27 - Final thoughts and wrap up!
GitHub code: https://github.com/atilafassina/solid...