astro-ssr-spa

Astro SSR SPA Template

APACHE-2.0 License

Downloads
187
Stars
1
Committers
2

Bot releases are hidden (Show)

astro-ssr-spa - Astro SSR SPA Template v1.0.0 - Initial Release Latest Release

Published by dansasser about 2 months ago

🚀 Astro SSR SPA Template v1.0.0 - Initial Release

I’m excited to announce the initial release of the Astro SSR SPA template! This powerful starter template leverages the flexibility of Astro's server-side rendering (SSR) capabilities with the dynamic functionality of a single-page application (SPA). Whether you're building an e-commerce site, blog, portfolio, or landing page, this template provides a robust foundation to get you started quickly and efficiently.

Key Features:

  • Astro SSR Integration: Seamlessly combines the best of server-side rendering with SPA architecture for lightning-fast load times and dynamic content updates.
  • HTMX for SPA: Utilizes HTMX to dynamically load and swap content without full page reloads, offering a smooth user experience.
  • Tailwind CSS & DaisyUI: Pre-configured with Tailwind CSS and DaisyUI for rapid UI development with a focus on simplicity and customizability.
  • MongoDB Integration: Built-in support for MongoDB, with session management via connect-mongo, making it easy to develop and scale database-driven applications.
  • Express Middleware: Leverages Express.js for handling server-side logic, routing, and middleware.
  • Microsoft DevTunnel Ready: Pre-configured to work with Microsoft DevTunnel, allowing for easy sharing and testing of your development environment.
  • Cross-Environment Compatibility: Works seamlessly with both Node.js and Bun, giving you flexibility in your development environment.

Why Use This Template?

This template is designed for developers looking to build modern, performant web applications with a minimal setup. It includes everything you need to get started with Astro's SSR, dynamic SPA behavior with HTMX, and full CSS control with Tailwind and DaisyUI. Whether you're a seasoned developer or new to these technologies, this template is a great starting point.

Get Started:

  • Clone the repository: git clone https://github.com/dansasser/astro-ssr-spa
  • Install dependencies: bun install or npm install
  • Start developing: bun run dev or npm run dev

I’m looking forward to seeing what you build with this template. Contributions, feedback, and suggestions are always welcome!