Core · Developing apps

Application development overview

NocoBase Core and its plugins provide the foundations for business applications, including database, server, client, authentication and permission capabilities. Developers can use these capabilities directly and focus on business features without building the infrastructure from scratch.

You can write code yourself or ask an AI Agent to develop features from your requirements.

What makes up an application?

A NocoBase application consists of these main parts:

PartPurpose
ClientBuild pages, forms, lists and interactions
ServerProvide APIs and handle business logic
DatabaseDefine data structures and store business data
PluginsProvide ready-made capabilities such as authentication, permissions, files and notifications
ConfigurationManage database connections, service parameters and other settings

Combine these parts as needed. Not every feature involves all of them.

How is a business feature implemented?

Consider creating a customer in a CRM system:

Enter customer detailsCall the APIApply business rulesSave to the databaseUpdate the page

In NocoBase, you usually only need to implement the parts specific to your business:

  • Client: build the customer form and customer list.
  • Server: implement the customer creation API, permission checks and business rules.
  • Database: define the customer data structure.
  • Plugins: reuse existing authentication and permission capabilities.

Where does the code go?

A NocoBase application organizes code by responsibility:

Directory tree
my-app/
├── client/       # Pages, components and routes
├── server/       # APIs and business services
├── database/     # Migrations and initial data
├── tests/        # Tests
└── config.yml    # Application configuration

Write code in the appropriate directories for your feature. Connect new pages, APIs or services to the application through their registration entry points.

See Project structure for details.

Develop with an Agent

NocoBase supports collaboration between people and Agents to develop applications.

A typical workflow:

Describe requirementsPlan the implementationBuild the featureTest and verifyHuman acceptance

An Agent can use project rules, documentation and Skills to implement business features with NocoBase's existing capabilities.

Developers are primarily responsible for clarifying requirements, reviewing key design decisions and accepting the results.

NocoBase docs assistant

Ask anything about NocoBase…

Each question is answered independently, without earlier questions or answers. Include all relevant context.