Skip to content

Commit df7a4e5

Browse files
committed
update templates to have minimal packages and readme
Signed-off-by: karthik2804 <[email protected]>
1 parent 0d05742 commit df7a4e5

File tree

8 files changed

+130
-34
lines changed

8 files changed

+130
-34
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# `http-js` Template
2+
3+
A starter template for building JavaScript HTTP applications with Spin.
4+
5+
## Getting Started
6+
7+
Build the App
8+
9+
```bash
10+
spin build
11+
```
12+
13+
## Run the App
14+
15+
```bash
16+
spin up
17+
```
18+
19+
## Using Spin Interfaces
20+
21+
To use additional Spin interfaces, install the corresponding packages:
22+
23+
| Interface | Package |
24+
|---------------|---------------------------------|
25+
| Key-Value | `@spinframework/spin-kv` |
26+
| LLM | `@spinframework/spin-llm` |
27+
| MQTT | `@spinframework/spin-mqtt` |
28+
| MySQL | `@spinframework/spin-mysql` |
29+
| PostgreSQL | `@spinframework/spin-postgres` |
30+
| Redis | `@spinframework/spin-redis` |
31+
| SQLite | `@spinframework/spin-sqlite` |
32+
| Variables | `@spinframework/spin-variables` |

templates/http-js/content/package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
"dependencies": {
1919
"@spinframework/build-tools": "^1.0.1",
2020
"@spinframework/wasi-http-proxy": "1.0.0",
21-
"@spinframework/spin-kv": "1.0.0",
22-
"@spinframework/spin-llm": "1.0.0",
23-
"@spinframework/spin-mqtt": "1.0.0",
24-
"@spinframework/spin-mysql": "1.0.0",
25-
"@spinframework/spin-postgres": "1.0.0",
26-
"@spinframework/spin-redis": "1.0.0",
27-
"@spinframework/spin-sqlite": "1.0.0",
28-
"@spinframework/spin-variables": "1.0.0",
2921
"itty-router": "^5.0.18"
3022
}
3123
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# `http-ts` Template
2+
3+
A starter template for building TypeScript HTTP applications with Spin.
4+
5+
## Getting Started
6+
7+
Build the App
8+
9+
```bash
10+
spin build
11+
```
12+
13+
## Run the App
14+
15+
```bash
16+
spin up
17+
```
18+
19+
## Using Spin Interfaces
20+
21+
To use additional Spin interfaces, install the corresponding packages:
22+
23+
| Interface | Package |
24+
|---------------|---------------------------------|
25+
| Key-Value | `@spinframework/spin-kv` |
26+
| LLM | `@spinframework/spin-llm` |
27+
| MQTT | `@spinframework/spin-mqtt` |
28+
| MySQL | `@spinframework/spin-mysql` |
29+
| PostgreSQL | `@spinframework/spin-postgres` |
30+
| Redis | `@spinframework/spin-redis` |
31+
| SQLite | `@spinframework/spin-sqlite` |
32+
| Variables | `@spinframework/spin-variables` |

templates/http-ts/content/package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@
2020
"dependencies": {
2121
"@spinframework/build-tools": "^1.0.1",
2222
"@spinframework/wasi-http-proxy": "1.0.0",
23-
"@spinframework/spin-kv": "1.0.0",
24-
"@spinframework/spin-llm": "1.0.0",
25-
"@spinframework/spin-mqtt": "1.0.0",
26-
"@spinframework/spin-mysql": "1.0.0",
27-
"@spinframework/spin-postgres": "1.0.0",
28-
"@spinframework/spin-redis": "1.0.0",
29-
"@spinframework/spin-sqlite": "1.0.0",
30-
"@spinframework/spin-variables": "1.0.0",
3123
"itty-router": "^5.0.18"
3224
}
3325
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# `redis-js` Template
2+
3+
A starter template for building TypeScript redis applications with Spin.
4+
5+
## Getting Started
6+
7+
Build the App
8+
9+
```bash
10+
spin build
11+
```
12+
13+
## Run the App
14+
15+
```bash
16+
spin up
17+
```
18+
19+
## Using Spin Interfaces
20+
21+
To use additional Spin interfaces, install the corresponding packages:
22+
23+
| Interface | Package |
24+
|---------------|---------------------------------|
25+
| Key-Value | `@spinframework/spin-kv` |
26+
| LLM | `@spinframework/spin-llm` |
27+
| MQTT | `@spinframework/spin-mqtt` |
28+
| MySQL | `@spinframework/spin-mysql` |
29+
| PostgreSQL | `@spinframework/spin-postgres` |
30+
| Redis | `@spinframework/spin-redis` |
31+
| SQLite | `@spinframework/spin-sqlite` |
32+
| Variables | `@spinframework/spin-variables` |

templates/redis-js/content/package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
},
1919
"dependencies": {
2020
"@spinframework/build-tools": "^1.0.1",
21-
"@spinframework/spin-trigger-redis": "1.0.0",
22-
"@spinframework/spin-kv": "1.0.0",
23-
"@spinframework/spin-llm": "1.0.0",
24-
"@spinframework/spin-mqtt": "1.0.0",
25-
"@spinframework/spin-mysql": "1.0.0",
26-
"@spinframework/spin-postgres": "1.0.0",
27-
"@spinframework/spin-redis": "1.0.0",
28-
"@spinframework/spin-sqlite": "1.0.0",
29-
"@spinframework/spin-variables": "1.0.0"
21+
"@spinframework/spin-trigger-redis": "1.0.0"
3022
}
3123
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# `redis-ts` Template
2+
3+
A starter template for building TypeScript edis applications with Spin.
4+
5+
## Getting Started
6+
7+
Build the App
8+
9+
```bash
10+
spin build
11+
```
12+
13+
## Run the App
14+
15+
```bash
16+
spin up
17+
```
18+
19+
## Using Spin Interfaces
20+
21+
To use additional Spin interfaces, install the corresponding packages:
22+
23+
| Interface | Package |
24+
|---------------|---------------------------------|
25+
| Key-Value | `@spinframework/spin-kv` |
26+
| LLM | `@spinframework/spin-llm` |
27+
| MQTT | `@spinframework/spin-mqtt` |
28+
| MySQL | `@spinframework/spin-mysql` |
29+
| PostgreSQL | `@spinframework/spin-postgres` |
30+
| Redis | `@spinframework/spin-redis` |
31+
| SQLite | `@spinframework/spin-sqlite` |
32+
| Variables | `@spinframework/spin-variables` |

templates/redis-ts/content/package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@
2020
},
2121
"dependencies": {
2222
"@spinframework/build-tools": "^1.0.1",
23-
"@spinframework/spin-trigger-redis": "1.0.0",
24-
"@spinframework/spin-kv": "1.0.0",
25-
"@spinframework/spin-llm": "1.0.0",
26-
"@spinframework/spin-mqtt": "1.0.0",
27-
"@spinframework/spin-mysql": "1.0.0",
28-
"@spinframework/spin-postgres": "1.0.0",
29-
"@spinframework/spin-redis": "1.0.0",
30-
"@spinframework/spin-sqlite": "1.0.0",
31-
"@spinframework/spin-variables": "1.0.0"
23+
"@spinframework/spin-trigger-redis": "1.0.0"
3224
}
3325
}

0 commit comments

Comments
 (0)