Skip to content

🔥 ReactPress-Modern Full-Stack Publishing Platform Built with React, Next.js, and NestJS(基于 React、Next.js 和 NestJS 构建的现代化博客&CMS)。Demo:https://blog.gaoredu.com

License

Notifications You must be signed in to change notification settings

fecommunity/reactpress

Repository files navigation

ReactPress Logo

ReactPress 2.0

Modern Full-Stack Publishing Platform Built with React, Next.js, and NestJS

GitHub license NPM Version PRs Welcome TypeScript Next.js NestJS Deploy CI

Report Bug · Request Feature · 中文文档

🌟 Modern Publishing Platform

ReactPress 2.0 is a full-stack publishing platform built with modern web technologies. It enables developers and content creators to build professional blogs, websites, and content management systems with minimal setup.

ReactPress Poster

✨ Key Features

⚡ 5-Minute Installation

  • Zero-Configuration Setup with intelligent defaults
  • WordPress-Style Installation Wizard for intuitive setup
  • Auto-Database Provisioning with automatic schema migration

🎨 Advanced Customization

  • Dynamic Theme Switching with light/dark mode
  • Component-Level Customization through modular architecture
  • Internationalization support (Chinese & English)

🔧 Unified Development Experience

  • Monorepo Architecture with modular packages
  • TypeScript for type safety across frontend and backend
  • PM2 Process Management for production deployments

🚀 Modern Technology Stack

  • Frontend: React 17 + Next.js 12 Pages Router
  • Backend: NestJS 6 with modular architecture
  • Database: MySQL with TypeORM
  • UI: Ant Design v5 components

📸 Screenshots

Installation Wizard

Installation

Content Management Dashboard

Admin Dashboard

Demo Site

Demo

🚀 Quick Start

📋 Prerequisites

  • Node.js >= 16.5.0
  • MySQL database
  • pnpm package manager

🏁 Installation Options

Option 1: Unified CLI (Recommended)

# Install ReactPress globally
npm install -g @fecommunity/reactpress

# Launch installation wizard
reactpress server install

# Start services
reactpress server start
reactpress client

Option 2: Independent Services

# Install and start ReactPress server
npx @fecommunity/reactpress-server

# Install and run client independently
npx @fecommunity/reactpress-client

📦 Packages & Components

ReactPress is organized as a monorepo with modular packages:

Core Packages

Package Description Version
@fecommunity/reactpress Main CLI and unified entry point 2.0.0
@fecommunity/reactpress-client Next.js 12 frontend application 1.0.0
@fecommunity/reactpress-server NestJS 6 backend API 1.0.0
@fecommunity/reactpress-toolkit Auto-generated API client SDK 1.0.0

Templates

Template Description Package Name
hello-world Minimal template for rapid prototyping @fecommunity/reactpress-template-hello-world
twentytwentyfive Feature-rich blog template @fecommunity/reactpress-template-twentytwentyfive

🔧 Configuration

Create a .env file in the root directory for local development:

# Database Config
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=reactpress
DB_PASSWD=reactpress
DB_DATABASE=reactpress

# Client Config
CLIENT_SITE_URL=http://localhost:3001

# Server Config
SERVER_SITE_URL=http://localhost:3002

🚀 Deployment Options

Deploy with Vercel (Recommended for Startups)

Deploy with Vercel

PM2 Deployment (Recommended for Production)

# Install PM2 globally
npm install -g pm2

# Start ReactPress server with PM2
npx @fecommunity/reactpress-server --pm2

# Start ReactPress client with PM2
npx @fecommunity/reactpress-client --pm2

Traditional Deployment (Self-Managed)

# Build for production
pnpm run build

# Start production servers
pnpm run start

🤝 Contributing

We welcome contributions of all kinds! Whether it's bug fixes, new features, documentation improvements, or translations, your help is appreciated.

📋 Development Setup

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/reactpress.git
  3. Install dependencies: pnpm install
  4. Start development servers: pnpm run dev

📦 Publishing

To publish packages to npm:

  1. Ensure you're logged into npm: pnpm login
  2. Run the publish script: pnpm run release
  3. Follow the interactive prompts to select packages and version increments

Please read our Contributing Guide for details on our code of conduct and development process.

❤️ Acknowledgments

ReactPress is inspired by and built upon the work of many amazing open-source projects:

We're grateful to the authors and contributors of these projects for their excellent work.

📈 Star History

Star History Chart

About

🔥 ReactPress-Modern Full-Stack Publishing Platform Built with React, Next.js, and NestJS(基于 React、Next.js 和 NestJS 构建的现代化博客&CMS)。Demo:https://blog.gaoredu.com

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •