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
* feat: move frontend examples to sub-path
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>
Copy file name to clipboardExpand all lines: .llms-snapshots/llms.txt
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -46,15 +46,15 @@ Juno is your self-contained serverless platform for building full-stack web apps
46
46
- [Collections](https://juno.build/docs/build/storage/collections.md): You can create or update a collection in the "Collections" tab in Juno's console under the storage view.
47
47
- [Development](https://juno.build/docs/build/storage/development.md): This page explains how to manage assets using the Juno SDK, including uploading, listing, counting, and deleting files within your application. It also covers configuration options for optimizing storage and access control.
48
48
49
-
## Examples
50
-
51
-
- [Angular Example](https://juno.build/docs/examples/angular.md): A fullstack note-taking app built with Angular, and Tailwind CSS using Juno for authentication, data, and file storage.
52
-
- [Next.js Example](https://juno.build/docs/examples/nextjs.md): A fullstack note-taking app built with Next.js, and Tailwind CSS using Juno for authentication, data, and file storage.
53
-
- [React JavaScript Example](https://juno.build/docs/examples/react-javascript.md): A fullstack note-taking app built with React, JavaScript, and Tailwind CSS using Juno for authentication, data, and file storage.
54
-
- [React TypeScript Example](https://juno.build/docs/examples/react-typescript.md): A fullstack note-taking app built with React, TypeScript, and Tailwind CSS using Juno for authentication, data, and file storage.
55
-
- [SvelteKit Example](https://juno.build/docs/examples/sveltekit.md): A fullstack note-taking app built with SvelteKit, and Tailwind CSS using Juno for authentication, data, and file storage.
56
-
- [Vanilla JavaScript Example](https://juno.build/docs/examples/vanilla-javascript.md): A fullstack note-taking app built with vanilla JavaScript, and Tailwind CSS using Juno for authentication, data, and file storage.
57
-
- [Vue Example](https://juno.build/docs/examples/vue.md): A fullstack note-taking app built with Vue, and Tailwind CSS using Juno for authentication, data, and file storage.
49
+
## Examples - Frontend
50
+
51
+
- [Angular Example](https://juno.build/docs/examples/frontend/angular.md): A fullstack note-taking app built with Angular, and Tailwind CSS using Juno for authentication, data, and file storage.
52
+
- [Next.js Example](https://juno.build/docs/examples/frontend/nextjs.md): A fullstack note-taking app built with Next.js, and Tailwind CSS using Juno for authentication, data, and file storage.
53
+
- [React JavaScript Example](https://juno.build/docs/examples/frontend/react-javascript.md): A fullstack note-taking app built with React, JavaScript, and Tailwind CSS using Juno for authentication, data, and file storage.
54
+
- [React TypeScript Example](https://juno.build/docs/examples/frontend/react-typescript.md): A fullstack note-taking app built with React, TypeScript, and Tailwind CSS using Juno for authentication, data, and file storage.
55
+
- [SvelteKit Example](https://juno.build/docs/examples/frontend/sveltekit.md): A fullstack note-taking app built with SvelteKit, and Tailwind CSS using Juno for authentication, data, and file storage.
56
+
- [Vanilla JavaScript Example](https://juno.build/docs/examples/frontend/vanilla-javascript.md): A fullstack note-taking app built with vanilla JavaScript, and Tailwind CSS using Juno for authentication, data, and file storage.
57
+
- [Vue Example](https://juno.build/docs/examples/frontend/vue.md): A fullstack note-taking app built with Vue, and Tailwind CSS using Juno for authentication, data, and file storage.
Copy file name to clipboardExpand all lines: docs/examples/frontend/angular.mdx
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ import HowToRun from "./components/how-to-run.md";
86
86
87
87
## Juno-Specific Configuration
88
88
89
-
-**juno.config.mjs**: Defines Satellite IDs for development/production, build source, and predeploy steps. See the [Configuration reference](../reference/configuration.mdx) for details.
89
+
-**juno.config.mjs**: Defines Satellite IDs for development/production, build source, and predeploy steps. See the [Configuration reference](../../reference/configuration.mdx) for details.
90
90
-**src/environments/environment.ts**: Contains the Satellite ID for local development.
91
91
-**src/environments/environment.prod.ts**: Contains the Satellite ID for production.
92
92
@@ -116,14 +116,14 @@ import HowToRun from "./components/how-to-run.md";
116
116
117
117
The following functions from `@junobuild/core` are used in this example:
118
118
119
-
| Function | Purpose/Description | Where Used (File/Component) | Juno Docs/Source Reference |
|`authSubscribe`| Subscribe to auth state changes |[`src/app/services/auth.service.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/services/auth.service.ts)|[Listening to Auth Changes](../build/authentication/development#listening-to-auth-changes)|
123
-
|`signIn`| Sign in user |[`src/app/components/login/login.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/login/login.component.ts)|[Sign-in](../build/authentication/development#sign-in)|
124
-
|`signOut`| Sign out user |[`src/app/components/logout/logout.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/logout/logout.component.ts)|[Sign-out](../build/authentication/development#sign-out)|
125
-
|`listDocs`| List documents in a collection |[`src/app/services/docs.service.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/services/docs.service.ts)|[List documents](../build/datastore/development#list-documents)|
126
-
|`setDoc`| Create or update a document |[`src/app/components/modal/modal.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/modal/modal.component.ts)|[Add a document](../build/datastore/development#add-a-document)|
127
-
|`deleteDoc`| Delete a document |[`src/app/components/delete/delete.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/delete/delete.component.ts)|[Delete a document](../build/datastore/development#delete-a-document)|
128
-
|`uploadFile`| Upload a file to storage |[`src/app/components/modal/modal.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/modal/modal.component.ts)|[Upload file](../build/storage/development#upload-file)|
129
-
|`deleteAsset`| Delete a file from storage |[`src/app/components/delete/delete.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/delete/delete.component.ts)|[Delete asset](../build/storage/development#delete-asset)|
119
+
| Function | Purpose/Description | Where Used (File/Component) | Juno Docs/Source Reference |
|`authSubscribe`| Subscribe to auth state changes |[`src/app/services/auth.service.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/services/auth.service.ts)|[Listening to Auth Changes](../../build/authentication/development#listening-to-auth-changes)|
123
+
|`signIn`| Sign in user |[`src/app/components/login/login.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/login/login.component.ts)|[Sign-in](../../build/authentication/development#sign-in)|
124
+
|`signOut`| Sign out user |[`src/app/components/logout/logout.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/logout/logout.component.ts)|[Sign-out](../../build/authentication/development#sign-out)|
125
+
|`listDocs`| List documents in a collection |[`src/app/services/docs.service.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/services/docs.service.ts)|[List documents](../../build/datastore/development#list-documents)|
126
+
|`setDoc`| Create or update a document |[`src/app/components/modal/modal.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/modal/modal.component.ts)|[Add a document](../../build/datastore/development#add-a-document)|
127
+
|`deleteDoc`| Delete a document |[`src/app/components/delete/delete.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/delete/delete.component.ts)|[Delete a document](../../build/datastore/development#delete-a-document)|
128
+
|`uploadFile`| Upload a file to storage |[`src/app/components/modal/modal.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/modal/modal.component.ts)|[Upload file](../../build/storage/development#upload-file)|
129
+
|`deleteAsset`| Delete a file from storage |[`src/app/components/delete/delete.component.ts`](https://github.com/junobuild/create-juno/blob/main/templates/angular-example/src/app/components/delete/delete.component.ts)|[Delete asset](../../build/storage/development#delete-asset)|
Copy file name to clipboardExpand all lines: docs/examples/frontend/nextjs.mdx
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,8 +86,8 @@ import HowToRun from "./components/how-to-run.md";
86
86
87
87
## Juno-Specific Configuration
88
88
89
-
-`juno.config.mjs`: Defines Satellite IDs for development/production, build source, and predeploy steps. See the [Configuration reference](../reference/configuration.mdx) for details.
90
-
-`next.config.mjs`: Uses the `withJuno` plugin to load environment variables and inject config automatically at build time. See the [Next.js Plugin reference](../reference/plugins.mdx#nextjs-plugin) for more information.
89
+
-`juno.config.mjs`: Defines Satellite IDs for development/production, build source, and predeploy steps. See the [Configuration reference](../../reference/configuration.mdx) for details.
90
+
-`next.config.mjs`: Uses the `withJuno` plugin to load environment variables and inject config automatically at build time. See the [Next.js Plugin reference](../../reference/plugins.mdx#nextjs-plugin) for more information.
91
91
92
92
---
93
93
@@ -116,14 +116,14 @@ juno deploy
116
116
117
117
The following functions from `@junobuild/core` are used in this example:
118
118
119
-
| Function | Purpose/Description | Where Used (File/Component) | Juno Docs/Source Reference |
|`authSubscribe`| Subscribe to auth state changes |[`src/components/auth.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/auth.tsx)|[Listening to Auth Changes](../build/authentication/development#listening-to-auth-changes)|
123
-
|`signIn`| Sign in user |[`src/components/login.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/login.tsx)|[Sign-in](../build/authentication/development#sign-in)|
124
-
|`signOut`| Sign out user |[`src/components/logout.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/logout.tsx)|[Sign-out](../build/authentication/development#sign-out)|
125
-
|`listDocs`| List documents in a collection |[`src/components/table.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/table.tsx)|[List documents](../build/datastore/development#list-documents)|
126
-
|`setDoc`| Create or update a document |[`src/components/modal.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/modal.tsx)|[Add a document](../build/datastore/development#add-a-document)|
127
-
|`deleteDoc`| Delete a document |[`src/components/delete.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/delete.tsx)|[Delete a document](../build/datastore/development#delete-a-document)|
128
-
|`uploadFile`| Upload a file to storage |[`src/components/modal.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/modal.tsx)|[Upload file](../build/storage/development#upload-file)|
129
-
|`deleteAsset`| Delete a file from storage |[`src/components/delete.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/delete.tsx)|[Delete asset](../build/storage/development#delete-asset)|
119
+
| Function | Purpose/Description | Where Used (File/Component) | Juno Docs/Source Reference |
|`authSubscribe`| Subscribe to auth state changes |[`src/components/auth.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/auth.tsx)|[Listening to Auth Changes](../../build/authentication/development#listening-to-auth-changes)|
123
+
|`signIn`| Sign in user |[`src/components/login.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/login.tsx)|[Sign-in](../../build/authentication/development#sign-in)|
124
+
|`signOut`| Sign out user |[`src/components/logout.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/logout.tsx)|[Sign-out](../../build/authentication/development#sign-out)|
125
+
|`listDocs`| List documents in a collection |[`src/components/table.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/table.tsx)|[List documents](../../build/datastore/development#list-documents)|
126
+
|`setDoc`| Create or update a document |[`src/components/modal.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/modal.tsx)|[Add a document](../../build/datastore/development#add-a-document)|
127
+
|`deleteDoc`| Delete a document |[`src/components/delete.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/delete.tsx)|[Delete a document](../../build/datastore/development#delete-a-document)|
128
+
|`uploadFile`| Upload a file to storage |[`src/components/modal.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/modal.tsx)|[Upload file](../../build/storage/development#upload-file)|
129
+
|`deleteAsset`| Delete a file from storage |[`src/components/delete.tsx`](https://github.com/junobuild/create-juno/blob/main/templates/nextjs-example/src/components/delete.tsx)|[Delete asset](../../build/storage/development#delete-asset)|
0 commit comments