ReactPress Documentation

website·Indexed 32 days ago

https://docs.gaoredu.com

A publishing system for React developers to build blogs, documentation, company websites, and content-driven applications. It features a NestJS server, a Vite SPA Admin, and replaceable Next.js visitor frontends. The platform includes a global CLI (@fecommunity/reactpress), a plugin system for extending server-side logic, a TypeScript-based API client toolkit, and an Electron-based desktop client for offline writing.

Tokens
30.8K
Snippets
185
Records
322
Agent score
45%

What's inside ReactPress

  1. Overview of ReactPress publishing platform

    ReactPress is an open-source (MIT) publishing system designed for React developers to build blogs, documentation sites, and content-driven applications. Unlike standalone Headless CMS tools, it provides a complete integrated stack including a WordPress-style Admin UI for content management, a NestJS-based Headless REST API, swappable Next.js themes with built-in SEO (SSR/ISR), and a hook-based plugin system. It uses SQLite by default for storage, making it easy to start without Docker, though MySQL and Docker are supported for production environments.
  2. Overview of ReactPress

    ReactPress is an open-source publishing system designed for React developers to build blogs, documentation, company websites, and content-driven applications. It provides a CMS API, Web Admin, swappable Next.js themes, plugins, and an Electron desktop client. The technology stack consists of React, Next.js, SQLite/MySQL, and NestJS.
  3. Overview of ReactPress 4.0

    ReactPress 4.0 is an MIT-licensed, self-hosted React publishing platform. Unlike a standalone Headless CMS, it provides a complete system out-of-the-box, including a NestJS API, a Vite-based Admin interface, Next.js themes, Hook-based plugins, a CLI, and an Electron desktop client. It is designed for teams that want WordPress-style content workflows but prefer a modern React/Next.js technical stack.
  4. Overview of the ReactPress publishing system

    ReactPress is a comprehensive publishing system for React developers designed to build blogs, documentation, company websites, and content-driven applications. It provides an integrated stack consisting of a CLI, a headless REST API (NestJS with SQLite/MySQL), a Web Admin interface (Vite + React), SSR themes (Next.js), an Electron desktop client for offline writing, and a plugin ecosystem using hooks and plugin.json for features like SEO and WebP optimization.
  5. Overview of the Plugin Ecosystem extensibility

    The platform provides WordPress-grade extensibility through a Hook system, a plugin.json manifest for configuration, and admin slots for UI integration. Core features such as SEO and auto-summary are provided as built-in functionality.
  6. Overview of ReactPress Publishing Platform

    ReactPress is an MIT-licensed publishing platform designed to provide a complete 'install, write, preview, ship, extend' loop for React developers. Unlike Headless CMS solutions that require manual assembly of APIs, frontends, and infrastructure, ReactPress provides a pre-assembled stack including an Admin interface, a visitor-facing site (via Next.js), and a plugin system. It uses embedded SQLite by default to eliminate the need for complex database setup (like Docker or MySQL) for initial deployment.
  7. Manage SEO and Metadata in ReactPress themes

    In the ReactPress architecture, the theme is responsible for rendering SEO elements, while plugins handle the writing of metadata. Themes must implement:

    • SSR/ISR HTML completeness for crawlers
    • Per-route <title>, meta descriptions, and OG tags using API fields
    • Generation of /sitemap.xml and robots.txt
    • JSON-LD structured data
  8. Configure ReactPress 3.0 Headless Features

    ReactPress 3.0 supports Headless mode, providing API Keys, Webhooks, and health check endpoints for external integrations.
  9. Understand ReactPress system architecture

    ReactPress separates its functionality into three primary components running on different ports by default:
    - Admin (:3001/admin/): Manages content, media, themes, plugins, and settings.
    - Theme (:3001): The public-facing SSR site.
    - API (:3002): Handles persistence, authentication, Hooks, and Headless REST requests.
  10. ReactPress theme architecture constraints

    When developing themes, adhere to the following constraints:

    • No Admin Access: Themes cannot contain Admin routes or direct database access.
    • No Business Logic: Do not modify NestJS business logic within the theme; use plugins instead.
    • API Access: All API interactions must go through the Toolkit.