Overview

NocoBase server-side plugins can do many things: define data tables, write custom APIs, manage permissions, listen to events, register scheduled tasks, and even extend CLI commands. All these capabilities are organized through a unified Plugin class.

I want to...Where to look
Understand the plugin class lifecycle and app membersPlugin
Perform CRUD and transaction management on the databaseDatabase
Define or extend data tables with codeCollections
Migrate data during plugin upgradesMigration
Manage multiple data sourcesDataSourceManager
Register custom APIs and resource operationsResourceManager
Configure API permissionsACL
Add request/response interceptors or middlewareContext and Middleware
Listen to application or database eventsEvent
Use cache to improve performanceCache
Register scheduled tasksCronJobManager
Support multiple languagesI18n
Customize log outputLogger
Extend CLI commandsCommand
Write test casesTest