strapi/README.md

169 lines
8.1 KiB
Markdown
Raw Permalink Normal View History

2018-08-21 01:31:10 -07:00
<p align="center">
<a href="https://strapi.io/#gh-light-mode-only">
<img src="https://strapi.io/assets/strapi-logo-dark.svg" width="318px" alt="Strapi logo" />
2018-08-21 01:31:10 -07:00
</a>
<a href="https://strapi.io/#gh-dark-mode-only">
<img src="https://strapi.io/assets/strapi-logo-light.svg" width="318px" alt="Strapi logo" />
</a>
2018-08-21 01:31:10 -07:00
</p>
2023-09-15 14:35:43 -05:00
<h3 align="center">Open-source headless CMS, self-hosted or Cloud youre in control.</h3>
<p align="center">The leading open-source headless CMS, 100% JavaScript/TypeScript, flexible and fully customizable.</p>
2024-09-28 08:07:53 -03:00
<p align="center"><a href="https://cloud.strapi.io/signups?source=github1">Cloud</a> · <a href="https://strapi.io/demo?utm_campaign=Growth-Experiments&utm_source=strapi%2Fstrapi%20README.md">Try live demo</a></p>
2017-09-29 11:29:17 +02:00
<br />
2020-05-18 18:54:26 +02:00
2017-09-29 11:29:17 +02:00
<p align="center">
2021-11-29 10:14:31 +01:00
<a href="https://www.npmjs.org/package/@strapi/strapi">
<img src="https://img.shields.io/npm/v/@strapi/strapi/latest.svg" alt="NPM Version" />
2017-09-29 11:29:17 +02:00
</a>
2021-11-29 10:53:06 +01:00
<a href="https://github.com/strapi/strapi/actions/workflows/tests.yml">
<img src="https://github.com/strapi/strapi/actions/workflows/tests.yml/badge.svg?branch=main" alt="Tests" />
2017-09-29 11:29:17 +02:00
</a>
<a href="https://discord.strapi.io">
<img src="https://img.shields.io/discord/811989166782021633?label=Discord" alt="Strapi on Discord" />
2017-09-29 11:29:17 +02:00
</a>
2022-08-19 09:05:06 -07:00
<a href="https://github.com/strapi/strapi/actions/workflows/nightly.yml">
<img src="https://github.com/strapi/strapi/actions/workflows/nightly.yml/badge.svg" alt="Strapi Nightly Release Build Status" />
</a>
2017-09-29 11:29:17 +02:00
</p>
2016-01-11 14:33:29 +01:00
2017-09-29 11:29:17 +02:00
<br>
2016-12-05 18:43:03 +01:00
2018-08-21 01:31:10 -07:00
<p align="center">
<a href="https://strapi.io">
2023-09-18 15:12:50 -07:00
<img src="https://raw.githubusercontent.com/strapi/strapi/main/public/assets/admin-demo.gif" alt="Administration panel" />
2018-08-21 01:31:10 -07:00
</a>
</p>
2016-08-16 11:42:48 +02:00
2017-09-29 14:20:17 +02:00
<br>
2016-08-16 11:42:48 +02:00
2023-09-15 14:35:43 -05:00
Strapi Community Edition is a free and open-source headless CMS enabling you to manage any content, anywhere.
2019-05-31 13:46:00 +02:00
- **Self-hosted or Cloud**: You can host and scale Strapi projects the way you want. You can save time by deploying to [Strapi Cloud](https://cloud.strapi.io/signups?source=github1) or deploy to the hosting platform you want\*\*: AWS, Azure, Google Cloud, DigitalOcean.
- **Modern Admin Panel**: Elegant, entirely customizable and a fully extensible admin panel.
2023-09-15 16:26:14 -05:00
- **Multi-database support**: You can choose the database you prefer: PostgreSQL, MySQL, MariaDB, and SQLite.
- **Customizable**: You can quickly build your logic by fully customizing APIs, routes, or plugins to fit your needs perfectly.
- **Blazing Fast and Robust**: Built on top of Node.js and TypeScript, Strapi delivers reliable and solid performance.
- **Front-end Agnostic**: Use any front-end framework (React, Next.js, Vue, Angular, etc.), mobile apps or even IoT.
- **Secure by default**: Reusable policies, CORS, CSP, P3P, Xframe, XSS, and more.
- **Powerful CLI**: Scaffold projects and APIs on the fly.
2019-05-31 13:46:00 +02:00
2018-08-21 01:31:10 -07:00
## Getting Started
2017-07-26 17:16:44 +02:00
<a href="https://docs.strapi.io/developer-docs/latest/getting-started/quick-start.html" target="_blank">Read the Getting Started tutorial</a> or follow the steps below:
2016-08-16 11:42:48 +02:00
### ⏳ Installation
Install Strapi with this **Quickstart** command to create a Strapi project instantly:
- (Use **yarn** to install the Strapi project (recommended). [Install yarn with these docs](https://yarnpkg.com/lang/en/docs/install/).)
```bash
2024-06-05 11:32:42 +02:00
yarn create strapi
```
**or**
2024-06-05 11:32:42 +02:00
- (Using npx to install the Strapi project.)
```bash
2024-06-05 11:32:42 +02:00
npx create-strapi@latest
```
2024-06-05 11:32:42 +02:00
This command generates a brand new project with the default features (authentication, permissions, content management, content type builder & file upload).
Enjoy 🎉
### 🖐 Requirements
Complete installation requirements can be found in the documentation under <a href="https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment.html">Installation Requirements</a>.
2019-05-31 15:25:41 +02:00
**Supported operating systems**:
2019-05-31 13:46:00 +02:00
| OS | Recommended | Minimum |
2024-08-26 14:56:44 +02:00
| --------------- | ----------- | ---------- |
| Ubuntu | 24.04 | LTS |
| Debian | 11 | LTS |
| RHEL | 9 | LTS |
| macOS | 14 | 12 |
| Windows Desktop | 11 | 10 |
| Windows Server | No Support | No Support |
| Docker | N/A | N/A |
2018-11-28 00:30:04 -07:00
2019-05-31 15:25:41 +02:00
(Please note that Strapi may work on other operating systems, but these are not tested nor officially supported at this time.)
2018-11-28 00:30:04 -07:00
2019-05-31 15:25:41 +02:00
**Node:**
2019-05-31 13:46:00 +02:00
2022-12-14 14:47:38 -07:00
Strapi only supports maintenance and LTS versions of Node.js. Please refer to the <a href="https://nodejs.org/en/about/releases/">Node.js release schedule</a> for more information. NPM versions installed by default with Node.js are supported. Generally it's recommended to use yarn over npm where possible.
2023-04-28 11:32:22 +02:00
| Strapi Version | Recommended | Minimum |
2024-08-26 14:56:44 +02:00
| --------------- | ----------- | ------- |
| 5.0.0 and up | 20.x | 18.x |
2023-10-11 18:32:38 +02:00
| 4.14.5 and up | 20.x | 18.x |
2023-04-28 11:32:22 +02:00
| 4.11.0 and up | 18.x | 16.x |
| 4.3.9 to 4.10.x | 18.x | 14.x |
| 4.0.x to 4.3.8 | 16.x | 14.x |
2019-05-31 15:25:41 +02:00
**Database:**
2019-05-31 13:46:00 +02:00
2023-01-12 16:49:23 +01:00
| Database | Recommended | Minimum |
2024-08-26 14:56:44 +02:00
| ---------- | ----------- | ------- |
| MySQL | 8.0 | 8.0 |
| MariaDB | 11.2 | 10.3 |
| PostgreSQL | 16.0 | 14.0 |
2023-01-12 16:49:23 +01:00
| SQLite | 3 | 3 |
**We recommend always using the latest version of Strapi stable to start your new projects**.
2019-05-31 15:25:41 +02:00
## Features
2023-09-15 16:26:14 -05:00
- **Content Types Builder**: Build the most flexible publishing experience for your content managers, by giving them the freedom to create any page on the go with [fields](https://docs.strapi.io/user-docs/content-manager/writing-content#filling-up-fields), components and [Dynamic Zones](https://docs.strapi.io/user-docs/content-manager/writing-content#dynamic-zones).
- **Media Library**: Upload your images, videos, audio or documents to the media library. Easily find the right asset, edit and reuse it.
- **Internationalization**: The Internationalization (i18n) plugin allows Strapi users to create, manage and distribute localized content in different languages, called "locales"
2023-09-15 16:26:14 -05:00
- **Role Based Access Control**: Create an unlimited number of custom roles and permissions for admin and end users.
- **GraphQL or REST**: Consume the API using REST or GraphQL
You can unlock additional features such as SSO, Audit Logs, Review Workflows in [Strapi Cloud](https://cloud.strapi.io/login?source=github1) or [Strapi Enterprise](https://strapi.io/enterprise?source=github1).
2019-05-31 15:25:41 +02:00
**[See more on our website](https://strapi.io/overview)**.
2018-08-21 01:31:10 -07:00
## Contributing
2016-08-15 12:43:36 +02:00
2018-08-21 01:31:10 -07:00
Please read our [Contributing Guide](./CONTRIBUTING.md) before submitting a Pull Request to the project.
2015-10-01 00:30:16 +02:00
## Community support
2017-09-29 14:20:17 +02:00
For general help using Strapi, please refer to [the official Strapi documentation](https://docs.strapi.io). For additional help, you can use one of these channels to ask a question:
2015-10-01 00:30:16 +02:00
2021-05-26 00:11:12 -07:00
- [Discord](https://discord.strapi.io) (For live discussion with the Community and Strapi team)
- [GitHub](https://github.com/strapi/strapi) (Bug reports, Contributions)
- [Community Forum](https://forum.strapi.io) (Questions and Discussions)
2022-04-17 17:03:01 +02:00
- [Feedback section](https://feedback.strapi.io) (Roadmap, Feature requests)
- [Twitter](https://twitter.com/strapijs) (Get the news fast)
2019-05-31 15:25:41 +02:00
- [Facebook](https://www.facebook.com/Strapi-616063331867161)
- [YouTube Channel](https://www.youtube.com/strapi) (Learn from Video Tutorials)
2018-08-21 01:31:10 -07:00
## Migration
Follow our [migration guides](https://docs.strapi.io/developer-docs/latest/update-migration-guides/migration-guides.html) on the documentation to keep your projects up-to-date.
2016-09-28 11:21:41 +02:00
2018-10-19 17:08:43 +02:00
## Roadmap
2022-04-17 17:03:01 +02:00
Check out our [roadmap](https://feedback.strapi.io) to get informed of the latest features released and the upcoming ones. You may also give us insights and vote for a specific feature.
2018-10-19 17:08:43 +02:00
## Documentation
See our dedicated [repository](https://github.com/strapi/documentation) for the Strapi documentation, or view our documentation live:
- [Developer docs](https://docs.strapi.io/developer-docs/latest/getting-started/introduction.html)
- [User guide](https://docs.strapi.io/user-docs/latest/getting-started/introduction.html)
- [Cloud guide](https://docs.strapi.io/cloud/intro)
## Try live demo
See for yourself what's under the hood by getting access to a [hosted Strapi project](https://strapi.io/demo) with sample data.
2016-09-28 11:21:41 +02:00
## License
See the [LICENSE](./LICENSE) file for licensing information.