Skip to content

Commit 943d616

Browse files
authored
docs(solid-start): add Supabase example (#5598)
1 parent e77745e commit 943d616

37 files changed

+1163
-16
lines changed

docs/start/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@
334334
"label": "Basic + Static rendering",
335335
"to": "framework/solid/examples/start-basic-static"
336336
},
337+
{
338+
"label": "Basic + Supabase",
339+
"to": "framework/solid/examples/start-basic-supabase"
340+
},
337341
{
338342
"label": "Cloudflare Vite Plugin",
339343
"to": "framework/solid/examples/start-basic-cloudflare"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SUPABASE_URL=PleaseChangeMe
2+
SUPABASE_ANON_KEY=PleaseChangeMe
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
node_modules
2+
package-lock.json
3+
yarn.lock
4+
5+
.DS_Store
6+
.cache
7+
.env
8+
.vercel
9+
.output
10+
/build/
11+
/api/
12+
/server/build
13+
/public/build# Sentry Config File
14+
.env.sentry-build-plugin
15+
/test-results/
16+
/playwright-report/
17+
/blob-report/
18+
/playwright/.cache/
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/build
2+
**/public
3+
pnpm-lock.yaml
4+
routeTree.gen.ts
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"files.watcherExclude": {
3+
"**/routeTree.gen.ts": true
4+
},
5+
"search.exclude": {
6+
"**/routeTree.gen.ts": true
7+
},
8+
"files.readonlyInclude": {
9+
"**/routeTree.gen.ts": true
10+
}
11+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "tanstack-solid-start-example-basic-supabase",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"type": "module",
7+
"scripts": {
8+
"dev": "vite dev",
9+
"build": "vite build && tsc --noEmit",
10+
"start": "vite start"
11+
},
12+
"keywords": [],
13+
"author": "",
14+
"license": "ISC",
15+
"dependencies": {
16+
"@supabase/ssr": "^0.5.2",
17+
"@supabase/supabase-js": "^2.48.1",
18+
"@tanstack/solid-router": "^1.133.25",
19+
"@tanstack/solid-router-devtools": "^1.133.25",
20+
"@tanstack/solid-start": "^1.133.26",
21+
"solid-js": "^1.9.9",
22+
"redaxios": "^0.5.1"
23+
},
24+
"devDependencies": {
25+
"@tailwindcss/postcss": "^4.1.15",
26+
"@types/node": "^22.5.4",
27+
"tailwindcss": "^4.1.6",
28+
"typescript": "^5.7.2",
29+
"vite": "^7.1.7",
30+
"vite-plugin-solid": "^2.11.10",
31+
"vite-tsconfig-paths": "^5.1.4"
32+
}
33+
}
29.3 KB
Loading
107 KB
Loading
26.6 KB
Loading

0 commit comments

Comments
 (0)