Home / Companies / Strapi / Blog / Post Details
Content Deep Dive

How to create a Strapi v4 plugin
: File structure 2/6

Blog post from Strapi

Post Details
Company
Date Published
Author
Maxime Castres
Word Count
796
Company Posts That Month
22
Language
English
Hacker News Points
-
Post removed?
No
Summary

A Strapi plugin can be created with two main parts: admin and server, which can have multiple purposes depending on their usage. A plugin can enhance the API of an application by using its server part, or it can inject components into the admin interface without needing a specific interface in the admin itself. To create a plugin, one needs to create a folder for the plugin with certain files such as `README.md`, `admin` and `server` folders, and then use the `npx create-strapi-app` command to generate the necessary files. The generated files include various configurations, components, controllers, routes, services, and other utilities that can be customized according to the plugin's needs. A plugin can also have multiple content-types, controller actions, and routes that are useful for a specific use case.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.