You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .llms-snapshots/llms-full.txt
+6-27Lines changed: 6 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -3179,7 +3179,7 @@ This example demonstrates how to write a **custom assertion** in **Rust** for a
3179
3179
3180
3180
The project includes a minimal frontend to help trigger and test the logic, but the primary focus is the backend assertion.
3181
3181
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)
3183
3183
3184
3184
---
3185
3185
@@ -3361,7 +3361,7 @@ When a document is added to the `request` collection, a serverless function is t
3361
3361
3362
3362
This pattern is useful for building workflows that require on-chain asset transfers or other canister calls in response to user actions.
3363
3363
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)
3365
3365
3366
3366
---
3367
3367
@@ -3541,7 +3541,7 @@ This example demonstrates how to use **Rust serverless functions** to dynamicall
3541
3541
3542
3542
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.
3543
3543
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)
3545
3545
3546
3546
---
3547
3547
@@ -3702,7 +3702,7 @@ This example demonstrates how to use **hooks in Rust** to modify documents autom
3702
3702
3703
3703
Hooks let you react to events like document creation, deletion, or asset uploads β and run custom backend logic in response.
3704
3704
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)
3706
3706
3707
3707
---
3708
3708
@@ -5049,7 +5049,7 @@ To encode and decode the call, you need Rust structures that match the Candid ty
5049
5049
5050
5050
**Tip:**
5051
5051
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).
5053
5053
5054
5054
For this example, we'll skip a few steps as the logic remains consistent:
5055
5055
@@ -5091,28 +5091,7 @@ If replication or IPv6 support is not available, a common workaround is to use a
5091
5091
5092
5092
## More Examples
5093
5093
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.
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.
Looking for more examples? Check out [Rust](/docs/examples/functions/rust.md) for patterns like custom assertions, data manipulation, and canister calls.
Copy file name to clipboardExpand all lines: blog/2023-03-28-build-a-web3-app-with-react-js.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -359,7 +359,6 @@ Congratulations! Your app is now decentralized π.
359
359
## Ressources
360
360
361
361
- 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)
Copy file name to clipboardExpand all lines: docs/examples/functions/rust/assertion.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This example demonstrates how to write a **custom assertion** in **Rust** for a
11
11
12
12
The project includes a minimal frontend to help trigger and test the logic, but the primary focus is the backend assertion.
13
13
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)
Copy file name to clipboardExpand all lines: docs/examples/functions/rust/canister-calls.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ When a document is added to the `request` collection, a serverless function is t
28
28
29
29
This pattern is useful for building workflows that require on-chain asset transfers or other canister calls in response to user actions.
30
30
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)
Copy file name to clipboardExpand all lines: docs/examples/functions/rust/generating-assets.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This example demonstrates how to use **Rust serverless functions** to dynamicall
12
12
13
13
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.
14
14
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)
Copy file name to clipboardExpand all lines: docs/examples/functions/rust/mutating-docs.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This example demonstrates how to use **hooks in Rust** to modify documents autom
11
11
12
12
Hooks let you react to events like document creation, deletion, or asset uploads β and run custom backend logic in response.
13
13
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)
0 commit comments