Code Monkey home page Code Monkey logo

api's Introduction

BMYBBS API

Build Status Coverity Scan Documentation Status

该项目是 bmybbs 项目的 API 部分。

技术概要

API 是一个纯 C 编写的 HTTP 服务器,并采用 JSON 格式输出。其依赖如下的库

代码结构

仓库中的代码主要分为两部分,业务处理以及库函数。前者直接处理 URL 请求和响应,后者向前者提供支持。库的部分包括

api_template.c api_brc.c apilib.c

使用

注意 Makefile 中链接以及 bmybbs 引用的位置,并请先编译安装 bmybbs。完成后,可以执行:

$ make
$ ./bmyapi > api.log 2>&1 &

其他及支持

接口文档托管在 readthedocs.org,请访问 http://bmybbs-api-docs.readthedocs.org/

若接口返回的 errcode 字段不为 0,请参见 错误码列表。使用中若有其他问题,请至 bmybbs BMY_Dev 版面或者 Issue 列表提出。

api's People

Contributors

ironblood avatar junyuan-leng avatar liu-ameng avatar

Watchers

 avatar  avatar

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.