Skip to main content

Strapi

Overview​

Strapi is an open-source headless CMS built on Node.js that provides an admin UI for content types, REST and GraphQL APIs, roles & permissions, and media management. Teams pair it with static sites (Next.js, Astro) or mobile apps consuming the APIs.

Key concepts​

  • Content-types builder: Schema without writing SQL first.
  • Draft & publish: Editorial workflows (where enabled).
  • Plugins: Auth providers, upload providers, i18n.
  • Self-hosted vs cloud: Operate your own Node process or use Strapi Cloud.
  • Customization: Policies, lifecycle hooks, custom controllers/services.

Headless content delivery​

Sample: fetch published articles​

const res = await fetch(
'http://localhost:1337/api/articles?publicationState=live&populate=*'
);
const { data } = await res.json();

References​