Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpiorowski/supabase-svelte-ssr
Supabase authentication with SvelteKit SSR
https://github.com/mpiorowski/supabase-svelte-ssr
supabase svelte sveltekit typescript
Last synced: 4 days ago
JSON representation
Supabase authentication with SvelteKit SSR
- Host: GitHub
- URL: https://github.com/mpiorowski/supabase-svelte-ssr
- Owner: mpiorowski
- License: mit
- Created: 2023-03-18T20:53:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-01T23:08:14.000Z (over 1 year ago)
- Last Synced: 2024-11-04T03:23:57.524Z (about 2 months ago)
- Topics: supabase, svelte, sveltekit, typescript
- Language: TypeScript
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Supabase authentication with SvelteKit SSR
## Demo
https://supabase-svelte-ssr.vercel.app## Description
This template was build using [Supabase Guide](https://supabase.com/docs/guides/getting-started/tutorials/with-sveltekit) with some minor tweaks:
- Full page protection inside `hooks.server.ts`, which means EVERY request is checked.
- Moved image logic into server side.
- Cleared all strict typescript warnings.## Missing environment variables
For local development You can create an .env file in root folder.
```
PUBLIC_SUPABASE_URL='supabase url'
PUBLIC_SUPABASE_ANON_KEY='supabase anon key'
```