Skip to content

Commit

Permalink
(docs): Re-structuring the sidebar for plugins, renaming pages, and a…
Browse files Browse the repository at this point in the history
…lso re-writing the contents for the plugins explained page.
  • Loading branch information
dericksozo committed Jul 18, 2024
1 parent 364ab6b commit 1078740
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 53 deletions.
41 changes: 24 additions & 17 deletions docs/getting-started/plugins.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,50 @@
---
id: plugins
title: How To Use Plugins
title: Plugins Explained
description: Learn how to use Amplication plugins that extend the functionality of your generated application.
sidebar_label: How To Use Plugins
sidebar_label: Plugins Explained
slug: /getting-started/plugins
pagination_next: plugins/overview
pagination_prev: getting-started/community-plugins
---

Amplication uses _Plugins_ to extend the functionality of your generated code.
Amplication uses _Plugins_ to extend the functionality of your service.

Some plugins can be enabled when you first create your service.
You can enable certain plugins when you first create your service.
For example, if you choose MySQL as your database, the _MySQL DB_ plugin will be enabled.
If you choose to turn on authentication for your service, that will enable the _NestJS Auth Module_ plugin.
If you choose to turn on authentication for your service, that will enable Authentication-related plugin.

All community plugins published by Amplication are available on the _All Plugins_ page.
Your installed plugins are shown on the _Installed Plugins_ page.
Plugins can be manually enabled or disabled on either of these pages.
The source code of all community Amplication plugins are [available on GitHub](https://github.com/amplication/plugins).
To see all published plugins, first visit the _Plugins_ tab in your service's dashboard and click on _All Plugins_ on the left sidebar.
Your installed plugins are shown on the _Installed Plugins_ tab.
Plugins can be manually enabled or disabled on either of these tabs.

Besides the community plugins created by the Amplication team, you can [develop your own custom plugins](/plugins/overview/).
The source code of all community Amplication plugins are [available on GitHub](https://github.com/amplication/plugins).
Besides the plugins created by the Amplication team, you can [develop your own custom plugins](/plugins/overview/).

:::tip
[Amplication's AI](/amplication-ai) can help you find new plugins for your service, and even install them automatically, with a single request.

Ask Jovu: `Which plugins do you recommend for adding caching capabilities to my Amplication service?`
:::

## Community Plugins List

You can view all community plugins on the _All Plugins_ page.
They're also available on the [Community Plugins](/plugins-list) page here on the Amplication documentation.

## Viewing Open-Source Plugin Code

All Amplication plugins are open-source and available on GitHub.
You can find the plugin source code for each individual plugin in Amplication's [`plugins`](https://github.com/amplication/amplication-plugins) repository.

## How To Install A Plugin
## Node.js vs .NET Plugins

Amplication supports both Node.js and .NET for code generation.Plugins are technology-specific.

When you switch between Node.js and .NET, you'll see a different set of available plugins, each optimized for the chosen stack.

Node.js plugins integrate seamlessly with the Node.js ecosystem and popular frameworks like NestJS. .NET plugins are designed to work with .NET Core and leverage the power of the .NET ecosystem.

## .NET Plugins (Coming Soon)

With the recent release of full .NET support, Amplication is actively expanding its .NET plugin ecosystem. While currently more limited than the Node.js offerings, new .NET plugins are being developed and released regularly, focusing on essential functionalities like authentication and database connectivity, with many more plugins coming soon.

## How To Install a Plugin

To install a plugin:

Expand All @@ -51,7 +58,7 @@ To install a plugin:

4. To see the plugin's code on GitHub, select **View on GitHub**.

## How To Uninstall A Plugin
## How To Uninstall a Plugin

To uninstall, or deactivate, a plugin, click the toggle switch into its _off_ state.

Expand Down
83 changes: 47 additions & 36 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ const sidebars = {
"getting-started/deploy-docker-desktop",
"how-to/deploy-kubernetes",
"how-to/deploy-to-aws-ecs",
"how-to/how-to-create-service",
"how-to/authentication-plugin-examples",
"how-to/create-message-broker",
"how-to/how-to-create-service"
],
},
{
Expand All @@ -158,48 +156,61 @@ const sidebars = {
},
items: [
"getting-started/plugins",
"getting-started/community-plugins",
"plugins/how-to-create-plugin",
"plugins/how-to-test-plugin",
"plugins/publish-plugin",
{
type: "category",
label: "Custom Plugin Architecture",
label: "Plugin Guides",
items: [
"plugins/plugin-architecture",
"plugins/plugin-events-before-after",
"plugins/context-skip-default",
"plugins/event-hierarchy",
],
"how-to/authentication-plugin-examples",
"how-to/create-message-broker",
]
},
{
type: "category",
label: "Custom Plugin Events - Reference",
label: "Custom Plugins",
items: [
"plugins/plugin-events/create-server",
"plugins/plugin-events/create-server-docker-compose",
"plugins/plugin-events/create-server-docker-compose-dev",
"plugins/how-to-create-plugin",
"plugins/how-to-test-plugin",
"plugins/publish-plugin",
{
type: 'doc',
id: 'plugins/plugin-events/create-server-docker-compose-db',
className: 'plugin-event-not-recommended',
type: "category",
label: "Custom Plugin Architecture",
items: [
"plugins/plugin-architecture",
"plugins/plugin-events-before-after",
"plugins/context-skip-default",
"plugins/event-hierarchy",
],
},
"plugins/plugin-events/create-server-dot-env",
"plugins/plugin-events/create-server-auth",
"plugins/plugin-events/create-package-json",
"plugins/plugin-events/create-entity-service",
"plugins/plugin-events/create-entity-service-base",
"plugins/plugin-events/create-entity-controller",
"plugins/plugin-events/create-entity-controller-base",
"plugins/plugin-events/create-entity-resolver",
"plugins/plugin-events/create-entity-resolver-base",
"plugins/plugin-events/create-message-broker-service",
"plugins/plugin-events/create-message-broker-service-base",
"plugins/plugin-events/create-message-broker-nestjs-module",
"plugins/plugin-events/create-message-broker-client-options-factory",
"plugins/plugin-events/create-message-broker-topics-enum",
"plugins/plugin-events/create-prisma-schema",
],
{
type: "category",
label: "Custom Plugin Events - Reference",
items: [
"plugins/plugin-events/create-server",
"plugins/plugin-events/create-server-docker-compose",
"plugins/plugin-events/create-server-docker-compose-dev",
{
type: 'doc',
id: 'plugins/plugin-events/create-server-docker-compose-db',
className: 'plugin-event-not-recommended',
},
"plugins/plugin-events/create-server-dot-env",
"plugins/plugin-events/create-server-auth",
"plugins/plugin-events/create-package-json",
"plugins/plugin-events/create-entity-service",
"plugins/plugin-events/create-entity-service-base",
"plugins/plugin-events/create-entity-controller",
"plugins/plugin-events/create-entity-controller-base",
"plugins/plugin-events/create-entity-resolver",
"plugins/plugin-events/create-entity-resolver-base",
"plugins/plugin-events/create-message-broker-service",
"plugins/plugin-events/create-message-broker-service-base",
"plugins/plugin-events/create-message-broker-nestjs-module",
"plugins/plugin-events/create-message-broker-client-options-factory",
"plugins/plugin-events/create-message-broker-topics-enum",
"plugins/plugin-events/create-prisma-schema",
],
}
]
}
]
},
Expand Down

0 comments on commit 1078740

Please sign in to comment.