Justship
Theme by
Ocluf |Updated:
22 Nov 2024
|607 Stars
A svelte 5 and sveltekit saas boilerplate. Including database, authentication, email, analytics
Categories
Overview:
Just Ship is a comprehensive Svelte 5 SaaS Boilerplate that includes various essential features to kickstart your project. With built-in support for Svelte 5 and SvelteKit 2, authentication options, email sending capabilities, styling solutions, database integration, and serverless hosting on Vercel, Just Ship aims to streamline the development process for SaaS applications.
Features:
- Svelte 5 and SvelteKit 2: Utilize the latest versions of the Svelte framework and SvelteKit for efficient development.
- Auth: Easy integration of authentication with support for social logins and magic link authentication using Lucia.
- Sending Emails: Send emails seamlessly using Postmark for communication with users.
- Styling: Style your application effortlessly with tailwindcss and daisyUI.
- Database: Integrate a database using Turso and leverage drizzle as an ORM for data management.
- Serverless Hosting: Host your project on Vercel’s serverless platform for hassle-free deployment and scalability.
Installation:
Local Development:
- Run
npm install --legacy-peer-deps
or pnpm install
to install dependencies. - Rename the
.env.example
file to .env
and fill it with your own values. - Run
npm run generate && npm run migrate
to create a local database. - Install mailpit for receiving emails locally from https://mailpit.axllent.org/docs/install/.
- Run
npm run dev
to start local development.
Production:
- Get a domain name for your project.
- Create a Postmark account and obtain the server API key.
- Set up a database using Turso following the Turso setup guidelines.
- Create an OAuth credential in Google Cloud for authentication.
- Set up a project on Vercel using the provided repo link.
- Point your main domain to your project on Vercel.
- Fill out the environment variables in the
.env
file. - Add these environment variables to your Vercel project for configuration.
Summary:
Just Ship offers a well-rounded Svelte 5 SaaS Boilerplate with essential features like authentication, email sending, styling, database integration, and serverless hosting. The convenient setup guide ensures a smooth start to both local development and production deployment, making it a valuable tool for SaaS application development. Feel free to contribute or suggest improvements to enhance the Just Ship experience.