supabase-js-rs
Rust bindings for Supabase JavaScript library via WebAssembly.
Usage
Add supabase-js-rs
to Cargo.toml
supabase-js-rs = { version = "0.1.0" }
Install @supabase/supabase-js
as package by adding CDN link to index.html in the root of your crate
```
```
Build and run
trunk serve
Examples
- [x] [Sycamore Auth Example](https://sycamore-supabase-js-rs-auth-demo.netlify.app/)
- [ ] Perseus
- [ ] Yew
- [ ] Seed
- [ ] Leptos
What I've done so far
- [ ] Auth
- [x] Create a new user
- [x] Sign in a user
- [ ] Sign in a user through OTP
- [ ] Sign in a user through OAuth
- [x] Sign out a user
- [ ] Verify and log in through OTP
- [x] Retrieve a session
- [ ] Retrieve a new session
- [ ] Retrieve a user
- [ ] Update a user
- [ ] Set the session data
- [x] Listen to auth events
- [ ] Send a password reset request
- [ ] Enroll a factor
- [ ] Create a challenge
- [ ] Verify a challenge
- [ ] Create and verify a challenge
- [ ] Unenroll a factor
- [ ] Get Authenticator Assurance Level
- [ ] Database
- [ ] Functions
- [ ] Realtime
- [ ] Storage