Sveltekit Lucia Prisma screenshot

Sveltekit Lucia Prisma

Author Avatar Theme by Huntabyte
Updated: 22 May 2023
61 Stars

Categories

Overview:

The document provides instructions and information on getting started with the SvelteKit Lucia Prisma project. It mentions the cloning of the repository, installation of base packages, initialization of Prisma db, and generation of Prisma client and types. It also highlights some differences in the v1.0 version, including tweaks in the database schema, deprecation of SvelteKit integration, and API name changes.

Features:

  • Cloning the repo: Allows users to clone the project repository using the provided git command.
  • Installing the base packages: Guides users on installing the necessary base packages through npm.
  • Initializing the Prisma db: Instructs users to execute the command for initializing the Prisma database.
  • Generating the Prisma client and types: Provides the command for generating the Prisma client and types (possibly for TypeScript).

Installation:

To get started with the SvelteKit Lucia Prisma project, follow these steps:

  1. Clone the repo:

    git clone https://github.com/jt196/sveltekit-lucia-prisma.git
    
  2. Install the base packages:

    npm i
    
  3. Initialize the Prisma db:

    npx prisma migrate dev --name init
    
  4. Generate the Prisma client and types:

    npx prisma generate
    

Summary:

The document provides a guide on how to get started with the SvelteKit Lucia Prisma project. It includes instructions for cloning the repository, installing base packages, initializing the Prisma db, and generating the Prisma client and types. It also highlights some differences in the v1.0 version, such as minor tweaks in the database schema, deprecation of SvelteKit integration, and API name changes.