spatz-2  by engageintellect

Full-stack SvelteKit template

Created 1 year ago
270 stars

Top 95.2% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides spatz-2, a full-stack Svelte 5 template for building modern web applications. It targets developers looking for a robust starting point with integrated authentication, payment processing, and AI chatbot capabilities, leveraging SvelteKit and Pocketbase.

How It Works

spatz-2 utilizes SvelteKit for its futuristic web framework capabilities. It integrates Pocketbase as a self-contained backend for user authentication, database, and admin UI. OpenAI's GPT models are used for an AI chatbot, with the Vercel AI SDK facilitating AI/ML processing. UI development is streamlined with TailwindCSS and shadcn-svelte components, while svelte-animations and GSAP handle animations. Forms are managed by svelte-superforms with Zod for validation.

Quick Start & Requirements

  • Pocketbase Setup: Download Pocketbase, unzip, and run ./pocketbase serve --http="0.0.0.0:8090". Import ./pocketbase/pb_schema.json into the Pocketbase admin console.
  • Client Setup: Clone the repo, copy .env.example to .env.local, run pnpm i && pnpm run dev --host.
  • Prerequisites: Node.js, pnpm, Pocketbase.
  • Docs: Live Demo App

Highlighted Details

  • Full-stack Svelte 5 template.
  • Integrated Stripe Payments & Subscriptions.
  • AI Chatbot with OpenAI (GPT-3.5-turbo & 4.0-turbo).
  • User Authentication and Profile Management.
  • Admin Dashboard via Pocketbase.
  • Command Palette (CMD+j) functionality.

Maintenance & Community

Contributions are welcomed via issues or pull requests.

Licensing & Compatibility

The repository does not explicitly state a license in the provided README.

Limitations & Caveats

The README notes that the csp part in svelte.config.js must be commented out for Stripe payments to function correctly.

Health Check
Last Commit

6 days ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
0
Star History
7 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.