Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The react frontend for the ABP application

License

NotificationsYou must be signed in to change notification settings

antosubash/abp-react

Repository files navigation

License: MITPRs WelcomeNext.jsTypeScriptTailwind CSSStorybook

A modern, high-performance React UI implementation for theABP Framework. This project serves as a drop-in replacement for the default Angular UI, offering improved performance, better SEO capabilities, and a more modern development experience with advanced features like visual page building and component documentation.

📋 Table of Contents

🚀 Demo

Check out the live demo athttps://abpreact.antosubash.com/

✨ Features

  • 🎨Modern UI/UX

    • Responsive design with Tailwind CSS v4
    • Dark/Light theme support
    • Modern component library with Radix UI
    • Beautiful animations and transitions
  • 🔐Authentication & Authorization

    • Login/Logout functionality
    • User registration
    • Password recovery
    • Role-based access control
    • OpenID Connect support
  • 🌐Multi-tenant Support

    • Tenant management
    • Tenant switching
    • Tenant-specific configurations
  • 👥User Management

    • User CRUD operations
    • Role management
    • Permission management
    • Profile management
  • 📝Content Management System (CMS)

    • Visual page builder with Puck editor
    • Drag-and-drop interface with 20+ content blocks
    • Real-time preview and responsive design
    • Comment system with moderation tools
    • Dynamic menu management with visual builder
    • Multi-tenant content isolation
    • SEO optimization and performance tools
  • ⚙️System Features

    • Multilingual support
    • Theme customization
    • Settings management
    • Feature management
    • Email configuration
  • 🧪Development Tools

    • Storybook for component documentation
    • TypeScript for type safety
    • ESLint and Prettier for code quality
    • Husky for git hooks
    • Vitest for testing

🚀 Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Install the ABP React .NET Template:
dotnet new install Anto.Abp.React.Template
  1. Create a new project:
dotnet new abp-react -o my-project-name --apiUrl your-api-url

Note: Use kebab-case for project names (e.g.,my-project-name) as it will be used for package organization.

Configuration

  1. Copy the environment variables:
cp .env.sample .env
  1. Update the.env file with your project-specific values:
  • API URL
  • Authentication settings
  • Other configuration options

Running the Project

  1. Navigate to your project directory:
cd my-project-name
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev
  1. (Optional) Start Storybook for component development:
pnpm storybook

📚 Project Overview

ABP React is built with modern web technologies:

The project aims to provide a production-ready React UI for ABP Framework applications, focusing on:

  • Performance optimization
  • SEO friendliness
  • Modern development experience
  • Full ABP Framework integration
  • Visual content creation

🎨 Visual Page Builder

ABP React includes a powerful visual page builder powered byPuck:

  • Drag-and-Drop Interface: Create pages visually without coding
  • Component Library: Pre-built components for common UI patterns
  • Responsive Design: Built-in responsive design tools
  • Real-time Preview: See changes instantly as you build
  • Template System: Save and reuse page layouts

Available Components

  • Hero sections
  • Text blocks and headings
  • Image galleries and carousels
  • Cards and containers
  • Buttons and forms
  • Grid layouts and spacers
  • And many more...

📖 Storybook

The project includes comprehensive component documentation with Storybook:

# Start Storybook development serverpnpm storybook# Build Storybook for productionpnpm build-storybook# Run Storybook testspnpm test-storybook

Storybook provides:

  • Interactive component documentation
  • Component testing and validation
  • Design system guidelines
  • Accessibility testing
  • Visual regression testing

CI/CD Integration

Storybook is fully integrated into the CI/CD pipeline:

  • Automatic Building: Storybook is built on every push to main and pull request
  • Testing: Storybook tests run automatically to ensure component quality
  • Docker Deployment: Storybook is containerized and deployed to GitHub Container Registry
  • Artifact Storage: Storybook build artifacts are stored for 30 days

CI Workflow Features:

  1. Storybook Build Job: Builds and tests Storybook on every change
  2. Docker Image: Creates and pushes Storybook Docker image to GHCR

Accessing Storybook:

🐳 Docker Support

ABP React includes Docker support for easy deployment:

Main Application

# Build the applicationdocker build -t abp-react.# Run the applicationdocker run -p 3000:3000 abp-react

Storybook

# Build Storybookdocker build -f Dockerfile.storybook -t abp-react-storybook.# Run Storybookdocker run -p 80:80 abp-react-storybook

The Docker setup includes:

  • Multi-stage builds for optimization
  • Nginx configuration for production
  • Security headers and caching
  • Non-root user execution

📊 Performance

Lighthouse Score

The project maintains high performance scores across all Lighthouse metrics. View the detailed reporthere.

🤝 Contributing

We welcome contributions! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

Please ensure your code:

  • Follows the existing code style
  • Includes appropriate tests
  • Updates documentation as needed
  • Passes all CI checks

Development Scripts

# Developmentpnpm dev# Start development serverpnpm build# Build for productionpnpm start# Start production serverpnpm lint# Run ESLintpnpm format# Format code with Prettier# Storybookpnpm storybook# Start Storybookpnpm build-storybook# Build Storybookpnpm test-storybook# Test Storybook# API Generationpnpm gen-api# Generate API client from OpenAPI spec

💬 Support

For support, please:

📄 License

This project is licensed under the MIT License - see theLICENSE file for details.

🙏 Acknowledgments

Special thanks to:

👥 Contributors

About

The react frontend for the ABP application

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors6

Languages


[8]ページ先頭

©2009-2025 Movatter.jp