https://github.com/ocluf/justship
A svelte 5 and sveltekit saas boilerplate. Including database, authentication, email, analytics
https://github.com/ocluf/justship
drizzle posthog saas-boilerplate stripe svelte sveltekit tailwindcss turso typescript
Last synced: 3 months ago
JSON representation
A svelte 5 and sveltekit saas boilerplate. Including database, authentication, email, analytics
- Host: GitHub
- URL: https://github.com/ocluf/justship
- Owner: ocluf
- License: mit
- Created: 2024-02-13T15:34:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-22T22:24:59.000Z (over 1 year ago)
- Last Synced: 2025-10-22T01:54:55.073Z (8 months ago)
- Topics: drizzle, posthog, saas-boilerplate, stripe, svelte, sveltekit, tailwindcss, turso, typescript
- Language: TypeScript
- Homepage: https://justship.today
- Size: 44.2 MB
- Stars: 649
- Watchers: 12
- Forks: 54
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - ocluf/justship - A svelte 5 and sveltekit saas boilerplate. Including database, authentication, email, analytics (TypeScript)
README
# Just Ship - A batteries included Svelte 5 SaaS Boilerplate
### Comes With
- 💻 **Svelte 5 and SvelteKit 2**
- 🚪 **Auth** (both social and magic link, using Lucia)
- 📧 **Sending Emails** (using Postmark)
- 🎨 **Styling** (using tailwindcss and shadcn)
- 📦 **Database** (using turso and drizzle as ORM)
- ☁️ **Serverless hosting** using vercel
### Getting Started 🚀
#### Local Development
- Run `pnpm install`
- Rename the `.env.example` file to `.env` and **populate it with your own values**
- Run `npm run generate && npm run migrate` to create a local database
- Install mailpit to receive emails locally https://mailpit.axllent.org/docs/install/
- run `npm run dev`
#### Production 🌐
- 🌍 Get a domain name
- 📬 Create a **postmark** account and get the server api key
- 💾 Set up a database with **Turso**: [Turso Setup](https://turso.tech/)
- 🔑 Create an OAuth credential in **Google Cloud**
- 🏗️ Set up a project from this repo on **Vercel**: [vercel](https://vercel.com)
- 🎯 Point your main domain name to your project on Vercel
- 🔐 fill out the environment variables in `.env`
- ⚙️ Add those environment variables to your project in Vercel
Feel free to contribute or suggest improvements! 🤝
### How to setup Just Ship the youtube tutorial
(note this tutorial is slightly outdated) You don't need mailpit neccesarily I log the email login link in the console.
I also use shadcn now instead of daisyUI
[](https://www.youtube.com/watch?v=sJZOXUhkvMc)