tiny-stack
                                
                                
                                
                                    tiny-stack copied to clipboard
                            
                            
                            
                        Added Auth.js based authentication
What's been changed?
- Added 
astro-authintegration- Created Auth.js config (
auth.config.ts) with GitHub provider by default + Drizzle database adapter - Added dependencies
@auth/core@auth/drizzle-adapterauth-astro
 - Added Auth.js schemas to Drizzle
 - Added types for the new schemas added above
 - Added new migration to add schemas / tables required for authentication
 - Added sign out button to 
CommentFormcomponent - Added new 
/loginpage - Homepage now redirects to 
/loginif not logged in 
 - Created Auth.js config (
 - Added basic 
.example.envwith template environment variables - Added a 
defaultNameprop toCommentFormcomponent - Added custom environment variable types to 
env.d.ts 
I've just realised that the README.md may also need updating in relation to the environment variables.
Shall we add the REPLICA_URL, LITESTREAM_ACCESS_KEY_ID & LITESTREAM_SECRET_ACCESS_KEY environment variables to the .example.env? And/or update the README.md to tell people how to use the .example.env instead?