supabase-js
lucia-sveltekit
supabase-js | lucia-sveltekit | |
---|---|---|
28 | 11 | |
2,868 | 357 | |
4.4% | - | |
8.2 | 0.0 | |
9 days ago | over 1 year ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
supabase-js
- Chrome Extension MV3 Template : Supabase Auth, Plasmo, Tailwinds CSS & Shadcn UI
-
Supabase Beta May 2023
[Edge Functions] Custom domains and vanity domains support for Edge Functions. PR
-
How do errors look like? Handling errors.
First of all, the code you provided is not directly supabase, but is whatever is provided from the javascript library. The auth part is then redirecting to the gotrue-js library, and as seen here [Gotrue-JS#L238] it returns a `Promise` and that specific type is declared here Where we see it could be two return types. ```ts | { data: { user: User | null session: Session | null } error: null } | { data: { user: null session: null } error: AuthError }
-
Authentication in Next.js with Supabase and Next 13
Next up, Supabase released v2 of their JavaScript client library (supabase-js), which brought with it a number of developer experience type improvements, and streamlined how we use some of the API's. A number of methods were also deprecated in this new release, which we'll cover later in this guide.
-
Develop a Cryptocurrency Tracking WebApp with Instant Email Notifications
We install the Supabase client library and also Chakra-UI which we will be using to build our React components.
-
Sign in with Apple using Supabase and Ionic Angular
The last part is the easiest as we simply need to connect Supabase to our Ionic app and call one function. Get started by bringing up a new Ionic app and install the Supabase JS client:
- Lucia, the authentication library for SvelteKit, had tons of updates in the last month - It now supports the latest version of SvelteKit and allows you to run load functions in parallel for faster load times (even when using auth)!
-
Using env. variables without VITE_ prefix
Under src/lib I have a .ts file where I create a supabase client inside.
-
Building In Public: Cartta Tech Stack
First and foremost, the language and framework – Typescript & React. Typescript is a must for a project of this size. It provides safety and peace of mind as I iterate quickly to solve bugs and add new features. React is a by-product of the next two things I will mention, Next and Remix. Both of these are higher abstractions on top of React and supply incredible tooling to build fast server side rendered applications. Picking one or the other was driven by my database and auth provider, Supabase. I could have tried to make it work with Remix, but there was already an authentication helper for Next from the Supabase community so I decided on Next. Still using Remix for this current website since I do love Remix so much.
-
Idea Validation - No Code RestAPI creator from relational DB
Have a look at https://postgrest.org/en/stable/. They do something in this direction and e.g. supabase.io uses them. Their approach is, if you have a database you have a REST API.
lucia-sveltekit
-
Lucia, the authentication library for SvelteKit, just had a complete overhaul! It now uses session tokens instead of JWTs, and the update improves the APIs overall. I've also rebuilt the docs from scratch!
It's explained here: https://github.com/pilcrowOnPaper/lucia-sveltekit/discussions/112
- Lucia, the authentication library for SvelteKit, had tons of updates in the last month - It now supports the latest version of SvelteKit and allows you to run load functions in parallel for faster load times (even when using auth)!
-
Easiest way to add auth to a sveltekit app
https://lucia-sveltekit.vercel.app/ - this does auth, you need to build all the screens etc... However it handles the session / login / logout etc...
-
Get routes during runtime in sveltekit
I have a documentation site that might be helpful: https://github.com/pilcrowOnPaper/lucia-sveltekit/tree/main/apps/documentation.
- Lucia, the authentication library for SvelteKit, now supports MongoDB and Appwrite! v0.5.0 also introduces new methods for managing and updating users!
-
Lucia, the authentication library for SvelteKit, now supports Prisma for SQL databases with the Prisma adapter
If anyone's knowledgeable on Prisma and/or PlanetScale, I would like some help on this issue
-
SvelteKit + Lucia: Email and password authentication
I recently released Lucia, an authentication library for SvelteKit. It handles the bulk of the authentication process and makes it easier to implement authentication to your SvelteKit project. Unlike other libraries, it isn't an out-of-the-box authentication library and requires a bit more time to start, but can be fully customized once you know the basics. It doesn't just create tokens, it uses short-lived access tokens with refresh tokens, auto-refreshes them, implements rotating refresh token, and detects refresh token theft.
-
How to fetch file from Server?
I've recently created a SvelteKit project that imports .md files and parse them during build time so that might be helpful (link).
What are some alternatives?
storage - S3 compatible object storage service that stores metadata in Postgres
sk-auth - Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
SvelteKit - web development, streamlined
DefinitelyTyped - The repository for high quality TypeScript type definitions.
auth - A JWT based API for managing users and issuing JWT tokens
supabase-nextjs-auth - Example project implementing authentication, authorization, and routing with Next.js and Supabase
platforms - A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.
nextjs-subscription-payments - Clone, deploy, and fully customize a SaaS subscription application with Next.js.
supabase - The open source Firebase alternative.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Svelte - Cybernetically enhanced web apps