Go to file
2022-05-18 21:52:48 +08:00
.github Update issue templates 2022-05-07 10:29:29 +08:00
docker docs: update readme.md 2022-04-29 10:55:01 +08:00
docs feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
packages fix: acl allow plugins:getPinned 2022-05-18 08:42:03 +08:00
storage feat: improvements (#335) 2022-04-29 00:09:40 +08:00
.editorconfig Feat: client base entry of plugin workflow (#225) 2022-03-27 15:51:48 +08:00
.env.example feat: improvements (#335) 2022-04-29 00:09:40 +08:00
.eslintignore v0.6 2021-12-06 21:23:34 +08:00
.eslintrc v0.5 2021-05-23 08:38:08 +08:00
.gitignore chore: ignore docker storage 2022-04-30 10:08:15 +08:00
.prettierignore feat: translation 2022-05-01 11:09:22 +08:00
.prettierrc refactor: code splitting of the table component (#121) 2021-12-02 22:56:16 +08:00
.umirc.ts feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
commitlint.config.js fix(root): change wrong file mode 2022-04-23 23:26:19 +08:00
docker-compose.yml docs: update readme.md 2022-04-29 10:55:01 +08:00
jest.cli.js feat: rename ui_schemas to uiSchemas 2022-02-16 00:22:47 +08:00
jest.config.js chore(jest): modulePathIgnorePatterns 2022-02-15 11:02:56 +08:00
jest.setup.ts feat: error handle middleware (#214) 2022-03-02 12:50:15 +08:00
lerna.json chore(versions): 😊 publish v0.7.0-alpha.34 2022-05-14 09:00:51 +08:00
LICENSE feat(license): replace MIT license with Apache-2.0 2022-04-25 09:45:24 +08:00
package.json feat: improvements (#335) 2022-04-29 00:09:40 +08:00
publish.js Fix multiple apps (#316) 2022-04-24 20:22:50 +08:00
README.md Update README.md 2022-05-18 21:49:52 +08:00
README.zh-CN.md Update README.zh-CN.md 2022-05-18 21:52:48 +08:00
tsconfig.build.json feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
tsconfig.jest.json Feat/create nocobase app (#273) 2022-04-17 10:00:42 +08:00
tsconfig.json Feat/create nocobase app (#273) 2022-04-17 10:00:42 +08:00
yarn.lock fix(client): upgrade formily packages 2022-05-05 16:41:06 +08:00

English | 中文

What is NocoBase

NocoBase is a scalability-first, open-source no-code development platform. No programming required, build your own collaboration platform, management system with NocoBase in minutes.

Homepage:
https://www.nocobase.com/

Online Demo:
https://demo.nocobase.com/new

Documents:
https://docs.nocobase.com/

Contact Us:
hello@nocobase.com

Who is NocoBase for

NocoBase is designed for you if you have the following needs.

  • Develop an internal management system
  • Build 90% of your system with no-code development in two days
  • Develop freely for particular requirements, the rest 10% of the system
  • The system requires frequent changes
  • Private deployment with full control of code and data
  • Free to use or pay for more technical support

Why choose NocoBase

  • Open source and free
    • Unrestricted commercial use under the Apache-2.0 license
    • Full code ownership, private deployment, private and secure data
    • Free to expand and develop for actual needs
    • Good ecological support
  • Strong no-code capability
    • Data Model
      • Create independent data models using dozens of field types such as text, date, number, attachment, option, icon, etc., and various association relationships such as one-to-one, one-to-many, many-to-many, etc.
    • Block
      • Display and manipulate data within a page using a free combination of block types such as tables, forms, kanban, calendars, details, etc.
    • ACL
      • Role-based control of user's system configuration rights, data action rights and menu access rights.
    • Workflow
      • Repetitive tasks are replaced by automation to increase efficiency. Manual approval is required for important matters.
    • Menu
      • You can group menus, support adding pages and links, and support unlimited submenus.
    • Action
      • Support filtering, exporting, adding, deleting, modifying, viewing and other operations to process data, which can be extended to more types.
  • Built for extended development
    • Microkernel architecture, flexible and easy to extend, with a robust plug-in system
    • Node.js-based, with popular frameworks and technologies, including Koa, Sequelize, React, Formily, Ant Design, etc.
    • Progressive development, easy for getting-started, friendly to newcomers
    • No binding, no strong dependencies, can be used in any combination or extensions, can be used in existing projects

Architecture

Click here to view the full image

Installation

NocoBase supports both Docker and CLI installation methods. Docker is recommended if you are new to NocoBase.

0. Before start

Please make sure you have installed Docker

1. Download NocoBase

Download with Git (or Download Zipand extract it to the nocobase directory)

git clone https://github.com/nocobase/nocobase.git nocobase

2. Select database (choose one)

Supports SQLite, MySQL, PostgreSQL

# SQLite
cd nocobase/docker/app-sqlite
# MySQL
cd nocobase/docker/app-mysql
# PostgreSQL
cd nocobase/docker/app-postgres

3. Install and start NocoBase

It may take dozens of seconds

# run in the background
$ docker-compose up -d
# view app logs
$ docker-compose logs app

app-sqlite-app-1  | nginx started
app-sqlite-app-1  | yarn run v1.22.15
app-sqlite-app-1  | $ cross-env DOTENV_CONFIG_PATH=.env node -r dotenv/config packages/app/server/lib/index.js install -s
app-sqlite-app-1  | Done in 2.72s.
app-sqlite-app-1  | yarn run v1.22.15
app-sqlite-app-1  | $ pm2-runtime start --node-args="-r dotenv/config" packages/app/server/lib/index.js -- start
app-sqlite-app-1  | 2022-04-28T15:45:38: PM2 log: Launching in no daemon mode
app-sqlite-app-1  | 2022-04-28T15:45:38: PM2 log: App [index:0] starting in -fork mode-
app-sqlite-app-1  | 2022-04-28T15:45:38: PM2 log: App [index:0] online
app-sqlite-app-1  | 🚀 NocoBase server running at: http://localhost:13000/

4. Log in to NocoBase

Open http://localhost:13000 in a web browser. The initial account and password are admin@nocobase.com and admin123.

CLI

0. Before start

Please make sure you have Node.js 12.x or above installed. You can download and install the latest LTS version from the official website. It is recommended to use nvm (or nvm-windows for Win systems) to manage Node.js versions if you plan to work with Node.js for a long time.

$ node -v

v16.13.2

yarn package manager is recommend.

$ npm install --global yarn
$ yarn -v

1.22.10

Also, make sure you have configured and started the required database, which supports SQLite, MySQL, PostgreSQL.

1. Create a NocoBase project

# SQLite
yarn create nocobase-app my-nocobase-app -d sqlite
# MySQL
yarn create nocobase-app my-nocobase-app -d mysql \
   -e DB_HOST=localhost \
   -e DB_PORT=3356 \
   -e DB_DATABASE=nocobase \
   -e DB_USER=nocobase \
   -e DB_PASSWORD=nocobase
# PostgreSQL
yarn create nocobase-app my-nocobase-app -d postgres \
   -e DB_HOST=localhost \
   -e DB_PORT=5432 \
   -e DB_DATABASE=nocobase \
   -e DB_USER=nocobase \
   -e DB_PASSWORD=nocobase

2. Switch to the project directory

cd my-nocobase-app

3. Install dependencies

yarn install

4. Install & Start NocoBase

yarn nocobase install --lang=en-US
yarn start

5. Log in to NocoBase

Open http://localhost:8000 in a web browser. The initial account and password are admin@nocobase.com and admin123.

Contributing

  • Fork the source code to your own repository
  • Modify source code
  • Submit pull request

Download

# Replace the following git address with your own repo
git clone https://github.com/nocobase/nocobase.git
cd nocobase
cp .env.example .env
yarn install

Development and Testing

# Install NocoBase
yarn nocobase install --lang=en-US
# Start NocoBase
yarn start
# Run all tests
yarn test
# Run all test files in the folder
yarn test <dir>
# Run a single test file
yarn test <file>

Documentation preview

# Start documentation
yarn doc --lang=zh-CN
yarn doc --lang=en-US

The documentation is in the docs directory and follows Markdown syntax

|- /docs/
  |- en-US
  |- zh-CN