saas-svelte-pocketbase-temporal-shadcn Svelte Themes

Saas Svelte Pocketbase Temporal Shadcn

ANOTHER SAAS

Saas with the following stack:

  • SvelteKit
  • Shadcn
  • PocketBase
  • Temporal

Features

  • Email Login
  • Mail verification
  • Password Reset
  • Subscription/Unsubscription Management
  • Temporal connected to PocketBase and decrementing user credits

Roadmap

  • 📨 Receive email for subscription/payment/unsubscription
  • 🔒 Add security rules to PocketBase
  • 🌐 Internationalization
  • 🔑 Reset password
  • 👤 Upload user profile picture
  • 🧼 Refactor: Types
  • 📱Responsive design

Screenshots

Quick start

copy .env.example to .env and fill the required fields

Launch the stack with docker-compose up

Landing page is available at http://localhost:2000 Frontend is available at http://localhost:2001 Database is available at http://localhost:2002 Backend is available at http://localhost:2003 Temporal UI is available at http://localhost:2004

Start temporal schdules

docker exec -it dev-saas-shadcn-back npm run schedule.start

Run temporal workflow

docker exec -it dev-saas-shadcn-backend npm run workflow

Pocketbase configuration

Update app url

In http://localhost:8090/_/?#/settings, update the app url to the frontend url

Email verification

In email verification template, under the action field, add the following line:

{APP_URL}/account/verify?token={TOKEN} ⚠️ Be sur to set the correct APP_URL in the Application tab

Top categories

Loading Svelte Themes