diff --git a/docs/introduction.mdx b/docs/introduction.mdx index 7a2ea6a..98a94ec 100644 --- a/docs/introduction.mdx +++ b/docs/introduction.mdx @@ -2,11 +2,10 @@ title: Introduction --- -import { cloudflare, nextjs, reactRouter, astro, bun, node, docker, vite, aws } from "/snippets/integration-icons.mdx" +import { cloudflare, nextjs, reactRouter, astro, bun, node, docker, vite, aws, d1, libsql, sqlite, postgres, turso } from "/snippets/integration-icons.mdx" import { Stackblitz, examples } from "/snippets/stackblitz.mdx" -Glad you're here! This is about **bknd**, a feature-rich backend that is so lightweight it could -run on your toaster (probably). +Glad you're here! **bknd** is a lightweight, infrastructure agnostic and feature-rich backend that runs in any JavaScript environment. ## Preview Here is a preview of **bknd** in StackBlitz: @@ -91,3 +90,38 @@ in the future, so stay tuned! Create a new issue to request a guide for your runtime or framework. + +## Use your favorite SQL Database +The following databases are currently supported. Request a new integration if your favorite is missing. + + + {libsql}} + href="/usage/database#database" + /> + {turso}} + href="/usage/database#sqlite-using-libsql-on-turso" + /> + {postgres}} + href="/usage/database#postgresql" + /> + {d1}} + href="/usage/database#cloudflare-d1" + /> +
+ + Create a new issue to request a new database integration. + +
+
diff --git a/docs/snippets/integration-icons.mdx b/docs/snippets/integration-icons.mdx index 1bd1174..997fbd5 100644 --- a/docs/snippets/integration-icons.mdx +++ b/docs/snippets/integration-icons.mdx @@ -27,6 +27,33 @@ export const vite = + fill="currentColor" d="M21.81 10.25c-.06-.04-.56-.43-1.64-.43c-.28 0-.56.03-.84.08c-.21-1.4-1.38-2.11-1.43-2.14l-.29-.17l-.18.27c-.24.36-.43.77-.51 1.19c-.2.8-.08 1.56.33 2.21c-.49.28-1.29.35-1.46.35H2.62c-.34 0-.62.28-.62.63c0 1.15.18 2.3.58 3.38c.45 1.19 1.13 2.07 2 2.61c.98.6 2.59.94 4.42.94c.79 0 1.61-.07 2.42-.22c1.12-.2 2.2-.59 3.19-1.16A8.3 8.3 0 0 0 16.78 16c1.05-1.17 1.67-2.5 2.12-3.65h.19c1.14 0 1.85-.46 2.24-.85c.26-.24.45-.53.59-.87l.08-.24zm-17.96.99h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16H3.85c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.43 0h1.76c.08 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16H6.28c-.09 0-.16.07-.16.16v1.58c.01.09.07.16.16.16m2.47 0h1.75c.1 0 .17-.07.17-.16V9.5c0-.08-.06-.16-.17-.16H8.75c-.08 0-.15.07-.15.16v1.58c0 .09.06.16.15.16m2.44 0h1.77c.08 0 .15-.07.15-.16V9.5c0-.08-.06-.16-.15-.16h-1.77c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16M6.28 9h1.76c.08 0 .16-.09.16-.18V7.25c0-.09-.07-.16-.16-.16H6.28c-.09 0-.16.06-.16.16v1.57c.01.09.07.18.16.18m2.47 0h1.75c.1 0 .17-.09.17-.18V7.25c0-.09-.06-.16-.17-.16H8.75c-.08 0-.15.06-.15.16v1.57c0 .09.06.18.15.18m2.44 0h1.77c.08 0 .15-.09.15-.18V7.25c0-.09-.07-.16-.15-.16h-1.77c-.08 0-.15.06-.15.16v1.57c0 .09.07.18.15.18m0-2.28h1.77c.08 0 .15-.07.15-.16V5c0-.1-.07-.17-.15-.17h-1.77c-.08 0-.15.06-.15.17v1.56c0 .08.07.16.15.16m2.46 4.52h1.76c.09 0 .16-.07.16-.16V9.5c0-.08-.07-.16-.16-.16h-1.76c-.08 0-.15.07-.15.16v1.58c0 .09.07.16.15.16"> -export const aws = \ No newline at end of file +export const aws = + +export const postgres = ; + +export const libsql = + + + + + + + + + + + + +; + +export const sqlite = ; +export const sqlocal = 0; + +export const turso = + + +; + +export const d1 = ; \ No newline at end of file