Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fedeperin/sveltekit-supabase-todo
A ToDo list built in SvelteKit using Supabase as Auth and Database system
https://github.com/fedeperin/sveltekit-supabase-todo
netlify-deployment supabase supabase-auth supabase-db supabase-js supabase-storage supabase-sveltekit svelte sveltekit sveltekit-supabase
Last synced: 26 days ago
JSON representation
A ToDo list built in SvelteKit using Supabase as Auth and Database system
- Host: GitHub
- URL: https://github.com/fedeperin/sveltekit-supabase-todo
- Owner: fedeperin
- Created: 2022-01-04T18:36:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-12T22:03:27.000Z (about 3 years ago)
- Last Synced: 2024-11-05T14:53:18.347Z (2 months ago)
- Topics: netlify-deployment, supabase, supabase-auth, supabase-db, supabase-js, supabase-storage, supabase-sveltekit, svelte, sveltekit, sveltekit-supabase
- Language: Svelte
- Homepage: https://todo-sveltekit.netlify.app
- Size: 27.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SvelteKit Supabase To Do App
A To Do App with an auth system built with SvelteKit and Supabase.
Demo of the project at [todo-sveltekit.netlify.app](https://todo-sveltekit.netlify.app).# Clone the project
First, git clone this project.
Then, run `npm install` to install the required dependencies.
Once the dependencies are installed, at the main route of the project, create a new file called `.env`.
The `.env` file needs to contain the following code:```.env
VITE_SUPABASE_ANON_KEY=
VITE_SUPABASE_URL=
```Next to `VITE_SUPABASE_ANON_KEY=` you need to add a Supabase Anon key, you can get yourse by going to the [Supabase App page](https://app.supabase.io) and creating a new project.
Next to `VITE_SUPABASE_URL=` you need to add a Supabase URL, you will also get it when you create the project.At the Supabase Auth config of your project, disable the option named "Enable Email Confirmations".
Then, at the tables section create a new table called users and add the following colums:- username: It is a text area and it does not have a default value
- email: It is a text area and it does not have a default value
- todos: It is a json area and the default value is []That's all!
You can run `npm run dev` and use it as a SvelteKit app.