Skip to content
项目

关于

A simple RESTful Web Service built with Tornado.

网站与应用开发

这些数字如何统计

可以做什么

  • Using RESTful API

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

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

README.md

原文

tornaREST

Description

TornaREST is a simple RESTful Web Service build with Tornado Web Server.It's a demo and a base framework for learning how to build a web service provides RESTful API.

Some Detail

How to use Python to build a RESTful Web Service

Run server

  • Edit config.py in the project root path:
  • Run init_db.py at first time to create nesscery data in mongodb
  • Run server.py

API response format

{
    'code': code,
    'msg': msg,
    'data': data
}

Features

  • Using RESTful API
  • Using tornado
  • Using mongodb
  • Using redis

探索相关项目

加载中…