justship
justship copied to clipboard
A svelte 5 and sveltekit saas boilerplate. Including database, authentication, email, analytics
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 daisyUI )
- 📦 Database (using turso and drizzle as ORM)
- ☁️ Serverless hosting using vercel
Getting Started 🚀
Local Development
- Run
npm install --legacy-peer-depsorpnpm install - Rename the
.env.examplefile to.envand populate it with your own values - Run
npm run generate && npm run migrateto 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
- 🔑 Create an OAuth credential in Google Cloud
- 🏗️ Set up a project from this repo on Vercel: vercel
- 🎯 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! 🤝
