Skip to content

Commit 93ec341

Browse files
authored
Merge pull request #11 from fermyon/feat/tutorial--supabase
[tutorials]: Add supabase proxy sample
2 parents 57f2428 + 8cf1089 commit 93ec341

15 files changed

+4071
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- [Using the Key Value Store](./tutorials/key-value-store-tutorial/)
66
- [Querying PostgreSQL](./tutorials/postgresql-tutorial/)
77
- [Querying MySQL](./tutorials/mysql-tutorial/)
8+
- [Building a Supabase Cache Proxy](./tutorials/supabase-proxy-tutorial/)
89

910
## Examples
1011

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
dist
3+
target
4+
.spin/
5+
build/
6+
.spin-aka/
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
KNITWIT_SOURCE=./config/knitwit.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Tutorial: Build a Cache Proxy For Supabase
2+
3+
This folder contains the sample application written as part of the _Build a Cache Proxy For Supabase_ tutorial.
4+
5+
## Building the Spin Application
6+
7+
Once you've cloned the repository, move into the tutorial folder ([./tutorials/supabase-proxy-tutorial](/tutorials/supabase-proxy-tutorial)) and run `spin build`:
8+
9+
```console
10+
cd tutorials/supabase-proxy-tutorial
11+
spin build
12+
```
13+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"version": 1,
3+
"project": {
4+
"worlds": [
5+
"spin-http"
6+
]
7+
},
8+
"packages": {
9+
"@fermyon/spin-sdk": {
10+
"witPath": "../../bin/wit",
11+
"world": "spin-imports"
12+
}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"version": 1,
3+
"packages": {
4+
"@fermyon/spin-sdk": {
5+
"witPath": "../../bin/wit",
6+
"world": "spin-imports"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)