Hooks Admin

screenshot of Hooks Admin
react
vite
less
ant-design

Hooks Admin,基于 React18、React-Router V6、React-Hooks、Redux、TypeScript、Vite2、Ant-Design 开源的一套后台管理框架。

Overview

Hooks-Admin is an open-source backend management framework based on React18, React-Router v6, React-Hooks, Redux & Redux-Toolkit, TypeScript, Vite2, and Ant-Design. It offers a Pro paid version that includes additional features. The project integrates the latest technologies for development and aims to provide a comprehensive solution for backend management.

Features

  • Technologies: Utilizes React18, React-Router v6, React-Hooks, TypeScript, and Vite2.
  • Project Development: Built with Vite2 for development and bundling, includes Gzip packaging, cross-origin proxy, and packaging preview tools.
  • State Management: Uses Redux integrated with immer, react-redux, and redux-persist. Offers two state management options - redux on master branch and redux-toolkit on redux-toolkit branch.
  • Request Handling: Axios is encapsulated with TypeScript for error handling, common request encapsulation, global request loading, and duplicate request cancellation.
  • UI Customization: Supports Antd component size switching, dark mode, grey mode, color blindness mode, and i18n internationalization.
  • Authorization and Routing: Utilizes custom higher-order components for route authorization, supports React-Router v6 lazy loading, accordion menu mode, infinite-level menus, multiple tabs, and breadcrumb navigation.
  • Code Quality: Maintains code uniformity with Prettier code formatting, integrated Eslint, Stylelint for code validation.
  • Project Workflow: Enforces commit message standards with husky, lint-staged, commitlint, and commitizen for commit message conventions.
react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

less
LESS

Less CSS is a dynamic stylesheet language that extends the capabilities of CSS, allowing developers to write cleaner, more modular, and reusable stylesheets with features like variables, mixins, and nested rules.

ant-design
Ant Design

Ant Design is a React UI library that provides a set of pre-designed components and design resources for building high-quality, responsive web applications.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

Redux

Redux is a state management library for JavaScript apps that provides a predictable and centralized way to manage application state. It enables developers to write actions and reducers that update the state in response to user interactions, server responses, and other events, and can be used with a variety of front-end frameworks and back-end technologies.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.