低代码开发,解放前后端开发

26 天前
 Steven2

所见即所得编辑 —— 不懂代码也能配置系统 虽然它不像 Notion 那样“傻瓜化”,但它有 WYSIWYG 编辑器,比如你配置一个表单、一个列表页、一个流程逻辑,基本都可以在 UI 上点击配置、可视化调整,不需要手写代码。这对业务人员来说已经足够了,对我们开发人员来说也省了不少手工造轮子的时间。

它数据建模的方式特别像传统开发里的“建表”+“视图”+“权限控制”那套思路,这就让你对系统的扩展和维护有种踏实感,不像有些工具上来一堆配置,真出了问题你根本不知道从哪里查起。

效果图:

GitHub 项目地址: 👉 https://github.com/nocobase/nocobase

docker-compose 安装脚本

cat << EOF > docker-compose.yml

networks:
  nocobase:
    driver: bridge

services:
  app:
    image: nocobase/nocobase:latest
    restart: always
    networks:
      - nocobase
    depends_on:
      - postgres
    environment:
      # The application's secret key, used to generate user tokens, etc.
      # If APP_KEY is changed, old tokens will also become invalid.
      # It can be any random string, and make sure it is not exposed.
      - APP_KEY=your-secret-key
      # Database type, supports postgres, mysql, mariadb
      - DB_DIALECT=postgres
      # Database host, can be replaced with the IP of an existing database server
      - DB_HOST=postgres
      # Database port
      - DB_PORT=5432
      # Database name
      - DB_DATABASE=nocobase
      # Database user
      - DB_USER=nocobase
      # Database password
      - DB_PASSWORD=nocobase
      # Timezone
      - TZ=UTC
      # Service platform username and password,
      # used for automatically downloading and updating plugins.
      - NOCOBASE_PKG_USERNAME=
      - NOCOBASE_PKG_PASSWORD=
    volumes:
      - ./storage:/app/nocobase/storage
    ports:
      - '13000:80'
    # init: true

  # If using an existing database server, postgres service can be omitted
  postgres:
    image: postgres:16
    restart: always
    command: postgres -c wal_level=logical
    environment:
      POSTGRES_USER: nocobase
      POSTGRES_DB: nocobase
      POSTGRES_PASSWORD: nocobase
    volumes:
      - ./storage/db/postgres:/var/lib/postgresql/data
    networks:
      - nocobase
EOF

运行

docker-compose up -d
docker-compose ps
devtunnel host -p 13000
976 次点击
所在节点    分享发现
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://ex.noerr.eu.org/t/1134662

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX