AstraCMS

Introduction

AstraCMS - A modern headless CMS for developers

Welcome to AstraCMS, a modern headless content management system designed for developers. AstraCMS provides a flexible API for managing blog posts, categories, tags, and authors.

Features

  • Headless Architecture - Use your favorite frontend framework
  • RESTful API - Simple and intuitive API design
  • TypeScript First - Full type safety with generated types
  • Framework Integrations - Ready-to-use packages for React, Next.js, Vue, Nuxt, Svelte, and Astro

Getting Started

Quick Example

import { createAstraCMSClient } from '@astracms/core'

const client = createAstraCMSClient({
  apiKey: process.env.ASTRACMS_API_KEY,
})

// Fetch all posts
const posts = await client.getPosts()

// Fetch a single post
const post = await client.getPost('hello-world')

Last updated on

On this page