Spatz

screenshot of Spatz
svelte
vite
tailwind
daisyui

An opinionated template for building full-stack Svelte applications ridiculously fast. Includes auth, database, admin panel, user dashboard, themes, icons, and more.

Overview

The Spatz template is a comprehensive fullstack template designed for use with Svelte. It includes a variety of features such as Sveltekit for building fast web apps, Pocketbase for User Auth, Database, Admin UI, and API documentation, OpenAI for chatbots, Vercel AI SDK for AI/ML models, TailwindCSS for rapid UI development, DaisyUI for additional components, and Zod for TypeScript schema validation.

Features

  • Sveltekit: Web framework for building fast web apps.
  • Pocketbase: Self-contained User Auth, Database, Admin UI, and API documentation.
  • OpenAI: Includes chatGPT 3.5-turbo & 4.0-turbo for contextually aware chatbots.
  • Vercel AI SDK: Provides AI/ML models for image, text, and audio processing.
  • TailwindCSS: Utility-first CSS framework for rapid UI development.
  • DaisyUI: Tailwind-based component library.
  • Zod: TypeScript-first schema declaration and validation.

Getting Started

  1. Create a directory for your Pocketbase instance and navigate to it.
  2. Download the latest release of Pocketbase, unzip it, and start the server.
  3. Log in to the Pocketbase admin console at http://localhost:8090/_/ and create a new database.
  4. Go to settings > Import collections, paste the contents of ./pocketbase/pb_schema.json, and click import.

Client Setup

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

daisyui
daisyUI

daisyUI adds classes to Tailwind CSS for all common UI components. Classes like btn, card, etc. This allows us to focus on important things instead of making basic elements for every project.

fullstack
Fullstack

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.