Tencent open source APIJSON hits five consecutive firsts

  • Tencent’s first code cloud recommendation project, // the other earliest creation is TencentOS-tiny (Code Cloud) 2019.8.23
  • Tencent's first code cloud GVP project, // the other earliest created is TencentOS-tiny (Code Cloud) 2019.8.23
  • Among all official Tencent Code Cloud projects, Star is the first, and the other highest is TencentOS-tiny (Code Cloud) with 272 Stars
  • Star first among all Tencent back-end development projects, // the highest other is libco (GitHub) 5.8K Star
  • Star ranks first among all Tencent network programming projects. // The other highest is TencentOS-tiny (GitHub) 4.7K Star

APIJSON is a JSON network transmission protocol designed for API and an ORM library based on this protocol. It provides a fully automated API for simple additions, deletions, changes, complex queries, and simple transaction operations. Can greatly reduce development and communication costs, simplify the development process, and shorten the development cycle.

Through the automation API, the front end can customize any data and any structure. Most HTTP request backends no longer need to write interfaces, let alone write documentation. The front end no longer has to communicate with the back end for interface or document problems, and no longer will be pitted by various errors in the document. The backend no longer needs to write new versions of interfaces and documents to be compatible with the old interface, and no longer will be annoying endlessly by the frontend anytime and anywhere.

APIJSON applicable scenarios

It is suitable for small and medium-sized projects where the front and back ends are separated, especially BaaS, Serverless, Internet entrepreneurship projects and corporate self-use projects.

APIJSON features

Support addition, deletion, modification, search, page sorting, group aggregation, statistical combination, fuzzy search, regular matching, continuous range, comparison operations, logical operations, stored procedures, various JOINs, various sub-queries, field filtering, multiple databases, and cross-databases Table, performance analysis, permutation and combination, structure transformation, remote function call, multi-level caching rules, data and structure verification, role and operation authority verification, etc.

For the front end

  • No need to urge the backend for interfaces and documentation
  • Data and structure are fully customized, what you want
  • See the request to know the result, what you ask is what you get
  • Any data and structure can be obtained at one time
  • Can remove duplicate data, save traffic and increase speed

For the backend

  • Provide a common interface, most APIs do not need to be written
  • Automatically generate documents, no need to write and maintain
  • Automatic verification of permissions, automatic version management, automatic SQL injection prevention
  • Open API does not need to be divided into versions, and is always compatible
  • Support addition, deletion, modification, search, fuzzy search, regular matching, remote functions, etc.

APIJSON interface display

Use APIAuto-Machine Learning HTTP Interface Tool to show HTTP API based on APIJSON protocol:

Multi-table related query, free structure combination, multiple test accounts, one-click sharing of test cases

Automatically generate Android and iOS code to encapsulate request JSON, one-click automatic generation of JavaBean or code to parse Response

Automatically save request records, automatically generate interface documents, add common requests, and quickly view one-key recovery

One-click automatic interface regression test, no need to write any code (no comments, comments, etc.)

A picture is worth a thousand words-overview of some basic functions

APIJSON App demo

An Android client demo developed using APIJSON + ZBLibrary. The following Gif picture looks relatively sluggish, but the App runs smoothly on the phone:

Code Cloud Home

https://gitee.com/TommyLemon/APIJSON

Guess you like

Origin www.oschina.net/news/120011/apijson-news