Justship screenshot

Justship

Author Avatar 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:

  1. Run npm install --legacy-peer-deps or pnpm install to install dependencies.
  2. Rename the .env.example file to .env and fill it with your own values.
  3. Run npm run generate && npm run migrate to create a local database.
  4. Install mailpit for receiving emails locally from https://mailpit.axllent.org/docs/install/.
  5. Run npm run dev to start local development.

Production:

  1. Get a domain name for your project.
  2. Create a Postmark account and obtain the server API key.
  3. Set up a database using Turso following the Turso setup guidelines.
  4. Create an OAuth credential in Google Cloud for authentication.
  5. Set up a project on Vercel using the provided repo link.
  6. Point your main domain to your project on Vercel.
  7. Fill out the environment variables in the .env file.
  8. 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.