GithubHelp home page GithubHelp logo

dpickford / justship Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ocluf/justship

0.0 0.0 0.0 189 KB

Home Page: https://justship.today

JavaScript 5.60% TypeScript 46.09% CSS 2.54% HTML 0.62% Svelte 45.15%

justship's Introduction

Just Ship - SvelteKit Auth Boilerplate ๐Ÿš€

IMPORTANT: This template uses svelte 5 even though it is still in alpha. Svelte 5 is close to release but for now use at your own risk

Comes With ๐ŸŒŸ

  • ๐Ÿšช Login with Google and Magic Link with Email (using Lucia)
  • ๐Ÿ“ง Resend to send emails
  • ๐Ÿ’ป Svelte 5
  • ๐ŸŽจ Tailwind CSS and shadcn-svelte for components (with built-in dark mode)
  • ๐Ÿ“ฆ Turso for the database
  • ๐Ÿ› ๏ธ Drizzle as ORM
  • โœ๏ธ Superforms 2
  • โ˜๏ธ Hosted on Vercel

Getting Started ๐Ÿš€

Local Development

  • Run pnpm install or 'npm install --force-legacy-deps'
  • Run Mailpit for email testing: Mailpit Instructions
  • add a .env file with a PUBLIC_PROJECT_NAME variable e.g PUBLIC_PROJECT_NAME="Just Ship"
  • run npm run migrate to initialise a local sqlite database
  • Start the development server with npm run dev
  • remove everything at src/routes/(app)/+page.svelte

Production ๐ŸŒ

  • ๐ŸŒ Get a domain name
  • ๐Ÿ“ฌ Create a Resend account and set up MX records as per Resend Instructions
  • ๐Ÿ’พ Set up a database with Turso: Turso Setup
  • ๐Ÿ”‘ Create an OAuth credential in Google Cloud
  • ๐Ÿ—๏ธ Set up a project from this repo on Vercel: link-to-vercel
  • ๐ŸŽฏ Point your main domain name to your project on Vercel
  • ๐Ÿ” create a .env at the root level and fill out the environment variables in env.example
  • โš™๏ธ Add those environment variables to your project in Vercel

Feel free to contribute or suggest improvements! ๐Ÿค

justship's People

Contributors

ocluf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.