Code Monkey home page Code Monkey logo

uliweb-apijson's Introduction

Build Status

uliweb-apijson is a subset and slightly different variation of apijson

You can try:


uliweb-apijson 是 APIJSON 的 Python 版后端实现,基于 uliweb 框架。

APIJSON

🏆码云最有价值开源项目
🚀后端接口和文档自动化,前端(客户端) 定制返回JSON的数据和结构!

   

     

   

English  通用文档 视频教程 在线工具

---

APIJSON是一种为API而生的JSON网络传输协议。
为 简单的增删改查、复杂的查询、简单的事务操作 提供了完全自动化的API。
能大幅降低开发和沟通成本,简化开发流程,缩短开发周期。
适合中小型前后端分离的项目,尤其是互联网创业项目和企业自用项目。

通过自动化API,前端可以定制任何数据、任何结构!
大部分HTTP请求后端再也不用写接口了,更不用写文档了!
前端再也不用和后端沟通接口或文档问题了!再也不会被文档各种错误坑了!
后端再也不用为了兼容旧接口写新版接口和文档了!再也不会被前端随时随地没完没了地烦了!

特点功能

在线解析

  • 自动生成接口文档,清晰可读永远最新
  • 自动生成请求代码,支持Android和iOS
  • 自动生成JavaBean文件,一键下载
  • 自动管理与测试接口用例,一键共享
  • 自动校验与格式化JSON,支持高亮和收展

对于前端

  • 不用再向后端催接口、求文档
  • 数据和结构完全定制,要啥有啥
  • 看请求知结果,所求即所得
  • 可一次获取任何数据、任何结构
  • 能去除重复数据,节省流量提高速度

对于后端

  • 提供通用接口,大部分API不用再写
  • 自动生成文档,不用再编写和维护
  • 自动校验权限、自动管理版本、自动防SQL注入
  • 开放API无需划分版本,始终保持兼容
  • 支持增删改查、模糊搜索、正则匹配、远程函数等

多表关联查询、结构自由组合、多个测试账号、一键共享测试用例

自动生成封装请求JSON的Android与iOS代码、一键自动生成JavaBean或解析Response的代码

自动保存请求记录、自动生成接口文档,可添加常用请求、快捷查看一键恢复

一键自动接口回归测试,不需要写任何代码(注解、注释等全都不要)



[以下Gif图看起来比较卡,实际在手机上App运行很流畅]


为什么要用APIJSON?

前后端10大痛点解析

快速上手

Demo
文档

下载客户端App

仿微信朋友圈动态实战项目
APIJSONApp.apk

测试及自动生成代码工具
APIJSONTest.apk

技术交流

如果有什么问题或建议可以 提ISSUE加群,交流技术,分享经验。
如果你解决了某些bug,或者新增了一些功能,欢迎 贡献代码,感激不尽~

贡献者们


感谢大家的贡献。

相关推荐

APIJSON, 让接口和文档见鬼去吧!

仿QQ空间和微信朋友圈,高解耦高复用高灵活

后端开挂:3行代码写出8个接口!

后端自动化版本管理,再也不用改URL了!

3步创建APIJSON后端新表及配置

其它项目

APIJSON 码云最有价值项目:后端接口和文档自动化,前端(客户端) 定制返回JSON的数据和结构

APIJSONAuto 自动化接口管理工具,自动生成文档与注释、自动生成代码、自动化回归测试、自动静态检查等

APIJSON-Android-RxJava 仿微信朋友圈动态实战项目,ZBLibrary(UI) + APIJSON(HTTP) + RxJava(Data)

Android-ZBLibrary Android MVP快速开发框架,Demo全面,注释详细,使用简单,代码严谨

感谢热心的作者们的贡献,点 ⭐Star 支持下他们吧。

持续更新

https://github.com/zhangchunlin/uliweb-apijson/commits/master

码云主页

https://gitee.com/zhangchunlin/uliweb-apijson

我要赞赏

如果你喜欢 uliweb-apijson,感觉它帮助到了你,可以点右上角 ⭐Star 支持一下,谢谢 ^_^

uliweb-apijson's People

Contributors

tangjn avatar tommylemon avatar zhangchunlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uliweb-apijson's Issues

在demo目录下,执行 `uliweb syncdb`,出现如下的错误

Traceback (most recent call last):
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/utils/pyini.py", line 600, in read
    v = eval_value(value, self.env(), self[sec_name], self._encoding, self._import_env)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/utils/pyini.py", line 201, in eval_value
    result = eval(txt, dict(globals), dict(locals))
  File "<string>", line 4
    'uliweb.contrib.template'
    ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/utils/pyini.py", line 600, in read
    v = eval_value(value, self.env(), self[sec_name], self._encoding, self._import_env)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/utils/pyini.py", line 201, in eval_value
    result = eval(txt, dict(globals), dict(locals))
  File "<string>", line 4
    'uliweb.contrib.template'
    ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/bin/uliweb", line 33, in <module>
    sys.exit(load_entry_point('Uliweb3', 'console_scripts', 'uliweb')())
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/manage.py", line 1619, in main
    call()
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/manage.py", line 1616, in call
    execute_command_line(args or sys.argv, get_commands, 'uliweb', callback)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/core/commands.py", line 417, in execute_command_line
    m.execute(callback)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/core/commands.py", line 353, in execute
    self.do_command(args, global_options)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/core/commands.py", line 380, in do_command
    command = self.fetch_command(global_options, subcommand)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/core/commands.py", line 298, in fetch_command
    commands = self.get_commands(global_options)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/core/commands.py", line 273, in get_commands
    commands = self.commands(global_options)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/manage.py", line 44, in get_commands
    collect_commands()
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/manage.py", line 34, in collect_commands
    apps = get_apps(global_options.apps_dir, settings_file=global_options.settings,
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/core/SimpleFrame.py", line 497, in get_apps
    x = pyini.Ini(inifile, basepath=apps_dir)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/utils/pyini.py", line 442, in __init__
    self.read(self._inifile)
  File "/home/rainboy/__git__/PYHTON/uliweb-apijson/demo/src/uliweb3/uliweb/utils/pyini.py", line 603, in read
    raise Exception("Converting value (%s) error in %s:%d:%s" % (value, filename or self._inifile, lineno, line))
Exception: Converting value (
'uliweb.contrib.staticfiles'
'uliweb.contrib.template'
'uliweb.contrib.upload'
'uliweb.contrib.orm'
'uliweb.contrib.session'
'uliweb.contrib.cache'
'uliweb.contrib.auth'
'uliweb.contrib.i18n'
'uliweb.contrib.flashmessage'
'uliweb.contrib.rbac'
'uliweb_comui'
'uliweb_comapps.auth.login'
'uliweb_comapps.auth.user_admin'
'uliweb_apijson.apijson'
'apijson_demo'
'tables'
) error in /home/rainboy/__git__/PYHTON/uliweb-apijson/demo/apps/settings.ini:6:INSTALLED_APPS = [

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.