GithubHelp home page GithubHelp logo

kevspau / dupabase Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 2.55 MB

A D wrapper around the PostgREST API for supabase

Home Page: https://csharpdf.github.io/projects/dupabase.html

License: MIT License

D 100.00%
supabase rest rest-api wrapper dupabase d

dupabase's Introduction

dupabase

A D wrapper around the PostgREST API for supabase

Basic Example

import dupabase;
import std.stdio;

auto key = import("key.txt");
void main() {
  auto db = newDB("something.supabase.co", key);
  writeln(db.getRows("test_table"));
  db.makeRows("test_table", true, ["id":"12345"]);
  db.updateRows("test_table", ["id":"1"], ["id":"2"]);
  db.deleteRows("test_table", ["id":"12345"]);
  writeln(db.getRow("test_table", 2));
}

Features not implemented (yet)

  • Log in with Magic Link via email
  • Sign up with phone & password
  • Login via SMS OTP (Supabase note: You must enter your own twilio credentials on the auth settings page to enable SMS-based Logins.)
  • Verify login via SMS OTP (Suapbase note: You must enter your own twilio credentials on the auth settings page to enable SMS-based OTP verification.)
  • Reset password via email
  • Update a users information
  • Send a user an invite over email (Supabase note: This endpoint requires you use the service_role_key when initializing the client, and should only be invoked from the server, never from the client.)

dupabase's People

Contributors

kevspa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.