Skip to content
项目

关于

🚀 Cenit IO——100% 开放的集成平台(iPaaS)

效率与自动化

这些数字如何统计

可以做什么

  • Backendless data APIs from JSON Schema-based Data Types.
  • Integration flows for routing, orchestration, and automation.
  • Data transformation pipelines across JSON, XML, ASN, EDIFACT, X12, UBL, and more.
  • API and integration connectors for third-party services.

实测星标增长

24小时
0
7天
0
15天
0
1个月
+1

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Cenit

flowchart LR
    accTitle: Three order sources, one Cenit Orders API
    accDescr: Shopify JSON, Amazon JSON, and a wholesale X12 purchase order feed converter flows. Cenit stores the results in one Order data type and exposes them through its Orders API.

    shopify["Shopify webhook · JSON"]
    amazon["Amazon Orders API · JSON"]
    edi["Wholesale purchase order · EDI X12 850"]

    subgraph cenit["Cenit"]
        direction LR
        normalize["Liquid converter flows"] --> orders["Order data type"] --> api["Orders API v3"]
    end

    shopify --> normalize
    amazon --> normalize
    edi --> normalize
Receive · Shopify, Amazon, and EDI

The demo loads a Shopify orders/create webhook payload and an Amazon getOrder response through Cenit's record API. Cenit's EDI parser reads the wholesale purchase order in X12 850 format. Each input is stored in its own data type.

Normalize · One Order schema

Three Liquid converter flows map the source records to the same Order data type. Each order keeps its source and original order ID and exposes the same sku and quantity fields.

Query · One Orders API

Cenit's API filters the normalized orders by SKU. In the demo, querying MUG-BLUE returns a Shopify order for 2 units, an Amazon order for 3, and a wholesale order for 24. The demo query adds the quantities with jq.

Smoke: Docker Compose + UI Login codebeat License

Cenit lets you connect APIs, transform data, and automate workflows. It’s an open-source integration-platform-as-a-service (iPaaS) you can run locally with Docker Compose.

Run locally · Build your first flow · Contribute

Quick start (local Docker Compose)

You’ll need Git and Docker Desktop, or Docker Engine with the Compose v2 plugin. Compose uses published images for Cenit and its UI.

  1. Clone the repository.

    git clone https://github.com/cenit-io/cenit.git
    cd cenit
    
  2. Start Cenit and wait for its services to become healthy.

    docker compose up -d --wait --wait-timeout 300
    
  3. Open the Cenit UI. On a fresh local database, sign in with [email protected] and the password password. You should land in the Cenit dashboard.

Run docker compose down from the repository root to stop Cenit. See the local development guide for setup from source, configuration, quality checks, and troubleshooting.

Three sales channels. One Orders API.

Cenit maps a Shopify webhook, an Amazon order response, and a wholesale X12 purchase order to the same Order schema. One query for MUG-BLUE returns 3 orders and 29 units to fulfill.

Cenit orders demo showing Shopify, Amazon, and EDI inputs, three normalized orders in Cenit, and a query for MUG-BLUE returning 29 units

Run this demo locally to load and verify the sample orders. To inspect the response yourself, get a read token and query the Orders API from the repository root.

CENIT_TOKEN="$(bash examples/orders-demo/run.sh token)"
curl -fsS -H "Authorization: Bearer $CENIT_TOKEN" \
  'http://localhost:3000/api/v3/orders_demo/order?sku=MUG-BLUE' |
  jq '{
    orders: ([.items[] | {source, source_order_id, sku, quantity}] | sort_by(.source)),
    order_count: .count,
    units_to_fulfill: ([.items[].quantity] | add // 0)
  }'

Table of contents

What you can build

  • Backendless data APIs from JSON Schema-based Data Types.
  • Integration flows for routing, orchestration, and automation.
  • Data transformation pipelines across JSON, XML, ASN, EDIFACT, X12, UBL, and more.
  • API and integration connectors for third-party services.
  • Event- and schedule-driven integration workloads.

Architecture and stack

Core runtime:

  • Ruby (Rails + Unicorn)
  • MongoDB
  • Redis
  • RabbitMQ

Default local ports:

  • Backend: http://localhost:3000
  • UI: http://localhost:3002
  • RabbitMQ management: http://localhost:15672

Related repository:

Project status

The repository is actively maintained. Current local migration baseline in this branch/repo:

  • Ruby 3.2.11
  • MongoDB 7.0
  • Docker Compose local runtime

Additional migration context is documented in upgrading_notes.md.

Contributing

Contributions are welcome and appreciated.

Before opening a PR:

  • Reproduce and describe the problem clearly.
  • Include tests or reproducible validation steps.
  • Keep scope focused and documented.

Security

Please do not report security vulnerabilities in public issues.

Code of conduct

This project follows the code of conduct in CODE_OF_CONDUCT.md.

License

Distributed under the terms in LICENSE.

Screenshots

menu tenants cenit_type mobile_view

探索相关项目

加载中…