V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Steven2
V2EX  ›  分享发现

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

  •  
  •   Steven2 · 10 天前 · 760 次点击

    所见即所得编辑 —— 不懂代码也能配置系统 虽然它不像 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
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2874 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 07:11 · PVG 15:11 · LAX 00:11 · JFK 03:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.