Git Product home page Git Product logo

skirt's Introduction

skirt

SvelteKit template, with Svelte 5, for scaffolding a new project with authentication & data storage.

❤ SvelteKit + Svelte 5, Tailwind, Drizzle, Turso, Lucia Auth ❤️

To Use

  • Clone this repository
  • Run pnpm install
  • Install Turso CLI
  • Setup Google OAuth Client credentials. Ensure to add a test user so that you will be able to login.
  • Setup environment variables (see .env.example)
  • pnpm run db:generate (will generate a migrations folder)
  • turso dev (will launch a local libsql database on port 8080 - Requires turso CLI)

In a new terminal:

  • pnpm run db:push (will push schema to database in .env file)
  • pnpm dev

If everything is setup correctly you should see the SvelteKit dev server running on :5173 and your Turso DB running on :8080. If you're missing anything, follow through the TODO: comments in the codebase to ensure you have followed the necessary steps.

Once live, clicking the login button will initiate the OAuth codeflow, where you will run through the usual Google Authentication process and be sent back to the landing page as authenticated.

Use this as a way to start new SvelteKit projects that require this common boilerplate!

skirt's People

Contributors

mwln avatar

Stargazers

MaDr avatar Jack Harrhy avatar

Watchers

 avatar

Forkers

luxus

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.