SvelteKit-Template

Sveltekit Template

My Primary SvelteKit Template with Prisma, Carbon Design System and a basic stylesheet

RJM SvelteKit Template

This is my personal SvelteKit Git Repo template. It is licensed under GNU's GPL V2.0

Features

  • Prisma configured for a PostgreSQL database w/ a sample model
  • A simple CSS style
  • Carbon Design System
  • Functional containerisation system
  • Barebones Lucia authentication system for GitHub OAuth

Setup:

  1. Clone the repository
git clone https://github.com/RJMurg/SvelteKit-Template.git
  1. Install the dependencies
npm install
  1. Create your .env
  • a) Rename the .env.example to .env
  • b) Replace the sample fields with their correct values
  1. Complete a database migrations
npx prisma migrate dev
  1. Get your GitHub Keys for OAuth See instructions here.

  2. Run the development server

npm run dev

You are now ready to develop!

Top categories

Loading Svelte Themes