This is a sample Astro blog site starter from the Astro Tutorial. It demonstrates how ScaleKit (https://docs.scalekit.com/authenticate/fsa/quickstart/) can be easily integrated for authentication.
- Complete blog implementation following the Astro "Build a Blog" tutorial
- ScaleKit authentication integration with:
- Login/logout functionality
- Protected API routes
- User session management
- Server-side rendering with Astro's Node adapter
- Install dependencies:
pnpm install-
Configure your ScaleKit credentials in environment variables (see
.env.example) -
Start the development server:
pnpm devThis project demonstrates how to:
- Configure ScaleKit with Astro's server-side rendering
- Set up authentication middleware
- Create protected API endpoints
- Display user information in the UI
- Handle login/logout flows
For more details on integrating ScaleKit, visit the ScaleKit Quickstart Guide.
This branch contains the state of the project after completing the basic tutorial, Unit 6.3, with additional ScaleKit authentication features added.