https://github.com/gustavocadev/sveltekit-drizzle-orm-planetscale-lucia
SvelteKit + Lucia Auth v3 + Planetscale + Drizzle ORM
https://github.com/gustavocadev/sveltekit-drizzle-orm-planetscale-lucia
drizzle-orm lucia-auth planetscale sveltekit
Last synced: 6 months ago
JSON representation
SvelteKit + Lucia Auth v3 + Planetscale + Drizzle ORM
- Host: GitHub
- URL: https://github.com/gustavocadev/sveltekit-drizzle-orm-planetscale-lucia
- Owner: gustavocadev
- Created: 2023-07-15T15:05:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T16:02:00.000Z (over 1 year ago)
- Last Synced: 2025-04-05T20:33:30.287Z (6 months ago)
- Topics: drizzle-orm, lucia-auth, planetscale, sveltekit
- Language: TypeScript
- Homepage:
- Size: 129 KB
- Stars: 22
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# create-svelte
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
## Create and .env file with the following variables
```bash
DATABASE_URL='mysql://86bh6kqdbfmqndt0bimw:********************@aws.connect.psdb.cloud/test?ssl={"rejectUnauthorized":true}'
```## Install dependencies
```bash
pnpm install
```## Run Drizzle Kit to sincronize the schema with the planetScale database
```bash
pnpm db:push
```## Developing
Start a development server:
```bash
pnpm run dev# or start the server and open the app in a new browser tab
pnpm run dev -- --open
```## Building
To create a production version of your app:
```bash
pnpm run build
```You can preview the production build with `pnpm run preview`.
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.