Skip to content

Commit 3246f36

Browse files
docs: update examples repo url (#471)
* docs: update examples repo url Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> * πŸ“„ Update LLMs.txt snapshot for PR review --------- Signed-off-by: David Dal Busco <david.dalbusco@outlook.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 26a469a commit 3246f36

9 files changed

Lines changed: 11 additions & 35 deletions

β€Ž.llms-snapshots/llms-full.txtβ€Ž

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3179,7 +3179,7 @@ This example demonstrates how to write a **custom assertion** in **Rust** for a
31793179

31803180
The project includes a minimal frontend to help trigger and test the logic, but the primary focus is the backend assertion.
31813181

3182-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/assertions](https://github.com/junobuild/examples/tree/main/rust/assertions)
3182+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/assertions](https://github.com/junobuild/examples/tree/main/functions/rust/assertions)
31833183

31843184
---
31853185

@@ -3361,7 +3361,7 @@ When a document is added to the `request` collection, a serverless function is t
33613361

33623362
This pattern is useful for building workflows that require on-chain asset transfers or other canister calls in response to user actions.
33633363

3364-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/calls](https://github.com/junobuild/examples/tree/main/rust/calls)
3364+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/calls](https://github.com/junobuild/examples/tree/main/functions/rust/calls)
33653365

33663366
---
33673367

@@ -3541,7 +3541,7 @@ This example demonstrates how to use **Rust serverless functions** to dynamicall
35413541

35423542
Each time a note is added through the frontend, the Satellite saves the note as an individual JSON file and updates a list of all notes as another JSON file. This pattern is useful for exposing structured, queryable data as static assets β€” consumable by your frontend or external services.
35433543

3544-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/json](https://github.com/junobuild/examples/tree/main/rust/json)
3544+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/json](https://github.com/junobuild/examples/tree/main/functions/rust/json)
35453545

35463546
---
35473547

@@ -3702,7 +3702,7 @@ This example demonstrates how to use **hooks in Rust** to modify documents autom
37023702

37033703
Hooks let you react to events like document creation, deletion, or asset uploads β€” and run custom backend logic in response.
37043704

3705-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/hooks](https://github.com/junobuild/examples/tree/main/rust/hooks)
3705+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/hooks](https://github.com/junobuild/examples/tree/main/functions/rust/hooks)
37063706

37073707
---
37083708

@@ -5049,7 +5049,7 @@ To encode and decode the call, you need Rust structures that match the Candid ty
50495049

50505050
**Tip:**
50515051

5052-
This example is also available on [GitHub](https://github.com/junobuild/examples/tree/main/rust/https-outcalls).
5052+
This example is also available on [GitHub](https://github.com/junobuild/examples/tree/main/functions/rust/https-outcalls).
50535053

50545054
For this example, we'll skip a few steps as the logic remains consistent:
50555055

@@ -5091,28 +5091,7 @@ If replication or IPv6 support is not available, a common workaround is to use a
50915091

50925092
## More Examples
50935093

5094-
Here are additional examples showcasing different use cases for blockchainless in Juno. Each example is hosted on GitHub and provides a working implementation you can explore and modify.
5095-
5096-
### Essential Hooks
5097-
5098-
A minimal app demonstrating how serverless function hooks work in Juno. This example provides a frontend interface for setting a document in the datastore or uploading a file to storage.
5099-
5100-
The associated hooks perform basic operations:
5101-
5102-
* Printing a message when triggered.
5103-
* Demonstrating how to deserialize and serialize a document before updating and persisting it.
5104-
5105-
This example serves as a great starting point for understanding how to interact with Juno's event-driven hooks in both datastore and storage contexts.
5106-
5107-
[πŸ”— GitHub Repository](https://github.com/junobuild/examples/tree/main/rust/hooks)
5108-
5109-
### Generating JSON Files
5110-
5111-
An example that demonstrates how to generate a JSON file within a serverless function on Juno.
5112-
5113-
When a document is set, the corresponding hook creates a JSON file based on the document's data and automatically uploads it to storage. This makes the file accessible via an HTTPS URL, allowing it to be retrieved and used directly on the web.
5114-
5115-
[πŸ”— GitHub Repository](https://github.com/junobuild/examples/tree/main/rust/json)
5094+
Looking for more examples? Check out [Rust](/docs/examples/functions/rust.md) for patterns like custom assertions, data manipulation, and canister calls.
51165095

51175096
# Use Juno with SvelteKit
51185097

β€Žblog/2023-03-28-build-a-web3-app-with-react-js.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ Congratulations! Your app is now decentralized πŸŽ‰.
359359
## Ressources
360360
361361
- Juno documentation and getting started: [https://juno.build/docs/intro](https://juno.build/docs/intro)
362-
- Code source of this tutorial: [https://github.com/junobuild/examples/tree/main/react/diary](https://github.com/junobuild/examples/tree/main/react/diary)
363362
364363
---
365364

β€Žblog/2023-04-21-develop-an-angular-app-on-blockchain.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ Congratulations! Your Angular app is now decentralized πŸŽ‰.
471471
## Resources
472472

473473
- Juno documentation and getting started: [https://juno.build/docs/intro](https://juno.build/docs/intro)
474-
- The source code of this tutorial is available in our [GitHub Repository](https://github.com/junobuild/examples/tree/main/angular/diary).
475474

476475
---
477476

β€Žblog/2023-05-24-build-a-web3-app-with-vuejs.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,6 @@ Congratulations! Your Vue dapp is now live and fully powered by the blockchain
345345
## Resources
346346

347347
- Juno documentation and getting started: [https://juno.build/docs/intro](https://juno.build/docs/intro)
348-
- The source code of this tutorial is available in our [GitHub Repository](https://github.com/junobuild/examples/tree/main/vue/diary).
349348

350349
---
351350

β€Ždocs/examples/functions/rust/assertion.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This example demonstrates how to write a **custom assertion** in **Rust** for a
1111

1212
The project includes a minimal frontend to help trigger and test the logic, but the primary focus is the backend assertion.
1313

14-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/assertions](https://github.com/junobuild/examples/tree/main/rust/assertions)
14+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/assertions](https://github.com/junobuild/examples/tree/main/functions/rust/assertions)
1515

1616
---
1717

β€Ždocs/examples/functions/rust/canister-calls.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ When a document is added to the `request` collection, a serverless function is t
2828

2929
This pattern is useful for building workflows that require on-chain asset transfers or other canister calls in response to user actions.
3030

31-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/calls](https://github.com/junobuild/examples/tree/main/rust/calls)
31+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/calls](https://github.com/junobuild/examples/tree/main/functions/rust/calls)
3232

3333
---
3434

β€Ždocs/examples/functions/rust/generating-assets.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This example demonstrates how to use **Rust serverless functions** to dynamicall
1212

1313
Each time a note is added through the frontend, the Satellite saves the note as an individual JSON file and updates a list of all notes as another JSON file. This pattern is useful for exposing structured, queryable data as static assets β€” consumable by your frontend or external services.
1414

15-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/json](https://github.com/junobuild/examples/tree/main/rust/json)
15+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/json](https://github.com/junobuild/examples/tree/main/functions/rust/json)
1616

1717
---
1818

β€Ždocs/examples/functions/rust/mutating-docs.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This example demonstrates how to use **hooks in Rust** to modify documents autom
1111

1212
Hooks let you react to events like document creation, deletion, or asset uploads β€” and run custom backend logic in response.
1313

14-
You can browse the source code here: [github.com/junobuild/examples/tree/main/rust/hooks](https://github.com/junobuild/examples/tree/main/rust/hooks)
14+
You can browse the source code here: [github.com/junobuild/examples/tree/main/functions/rust/hooks](https://github.com/junobuild/examples/tree/main/functions/rust/hooks)
1515

1616
---
1717

β€Ždocs/guides/rust.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ To encode and decode the call, you need Rust structures that match the Candid ty
197197

198198
:::tip
199199

200-
This example is also available on [GitHub](https://github.com/junobuild/examples/tree/main/rust/https-outcalls).
200+
This example is also available on [GitHub](https://github.com/junobuild/examples/tree/main/functions/rust/https-outcalls).
201201

202202
:::
203203

0 commit comments

Comments
Β (0)