XiHanFun/XiHan.BasicApp
Über uns
A beautifully crafted general-purpose admin kernel built on XiHan.Framework and XiHan.UI.
Web- und App-EntwicklungWhat you can do
- Experience - Light and dark themes, Material You dynamic color, synced preferences, schema-driven lists, command palette, split view, small-screen layouts, 10 languages
- Permissions and security - Server-side permission snapshots, field-level masking, role inheritance with separation of duties, time-limited delegation, guarded impersonation, an OAuth2 / OIDC server
- Multi-tenancy - Column or per-tenant database isolation, edition gating and quotas, platform-managed operations
- Auditing and operations - Access, operation, sign-in, exception, data change and permission change logs, end-to-end TraceId, field-level change history, reliable outbox delivery, asynchronous exports
Gemessener Sternzuwachs
- in 24h
- +1
- in 7 days
- +7
- in 15 days
- +9
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original
An admin kernel with multi-tenancy, fine-grained permissions and auditing out of the box
Docs · Live Demo · Getting Started · Features · Changelog
English | 简体中文
XiHan.BasicApp is a general-purpose admin kernel with separate frontend and backend, shipping identity, permissions, tenancy and auditing as a starting point for admin systems. It is the base application of the XiHanFun open-source ecosystem.
Preview
![]() Light and dark themes |
![]() Dynamic color |
![]() Preference center |
![]() Schema-driven lists |
![]() Command palette |
![]() Multi-tenant control center |
Features
| Area | Capabilities |
|---|---|
| Experience | Light and dark themes, Material You dynamic color, synced preferences, schema-driven lists, command palette, split view, small-screen layouts, 10 languages |
| Permissions and security | Server-side permission snapshots, field-level masking, role inheritance with separation of duties, time-limited delegation, guarded impersonation, an OAuth2 / OIDC server |
| Multi-tenancy | Column or per-tenant database isolation, edition gating and quotas, platform-managed operations |
| Auditing and operations | Access, operation, sign-in, exception, data change and permission change logs, end-to-end TraceId, field-level change history, reliable outbox delivery, asynchronous exports |
| Optional modules | Code generation, workflow, print designer, chat and an AI knowledge base, each removable as a unit |
| Engineering | Business APIs are operations: one contract serves HTTP, gRPC and MCP, and the frontend client is generated from it; a single source of truth for menus, routes and permission codes, with structural tests guarding the architecture |
See the feature list for the full set.
Getting Started
git clone https://github.com/XiHanFun/XiHan.BasicApp.git
cd XiHan.BasicApp
cp .env.example .env
docker compose up -d --build
The backend image restores the XiHan.Framework packages from NuGet; on startup the schema upgrade and seed run before the backend starts. The frontend runs at http://localhost:8080 and the backend API at http://localhost:9710. The initial account is superadmin with the SUPERADMIN_PASSWORD from .env (default SuperAdmin@123); change it at first sign-in. Replace every password and secret in .env with random values before deploying; see Deployment for the rest.
Local development needs the .NET 10 SDK, Node.js 24+, pnpm 11+ and PostgreSQL 14+; the backend references XiHan.Framework as NuGet packages, so a fresh clone builds on its own. See Getting Started and the backend and frontend engineering notes.
Architecture
| Layer | Frontend | Backend |
|---|---|---|
| Application | Pages and entry points | Host and optional modules |
| Kernel | Layouts, routing, requests and state | Identity, permissions, tenancy, auditing and messaging |
| Foundation | XiHan.UI | XiHan.Framework |
Ecosystem
| Project | Description |
|---|---|
| XiHan.Framework | A fast, lightweight, efficient, thoughtful .NET framework: microkernel, capability graph, pipeline execution |
| XiHan.UI | A fast, lightweight, efficient and thoughtfully built framework-agnostic headless UI component library |
Documentation
| Destination | Contents |
|---|---|
| Documentation site | Guides and topic docs |
| Live demo | Try it online |
| Backend notes | Capability package tiers, projects and local development |
| Frontend notes | Stack, layout and local development |
| Changelog | Release notes and upgrade advisories |
Contributing
Issues and pull requests are welcome; see the contributing guide. Community: QQ group 749791256. Support the project: sponsorship page.
Acknowledgements
| Project | Influence |
|---|---|
| VbenAdmin | The frontend project that started it all, inspiring parts of the architecture and visuals |
| SoybeanAdmin, LitheAdmin | Inspiration for parts of the frontend visuals |
| Admin.Core.ZR, YuebonCore | Inspiration for parts of the backend features |
| NaiveUI | Early frontend view components |
License
MIT © 2021-Present XiHanFun and contributors. The XiHan.BasicApp logo, name, interface design and original visual expression belong to the author.
Ähnliche Projekte entdecken
Wird geladen…





