Skip to content
Projects

About

A simple RESTful Web Service built with Tornado.

Web & App Development

How these counts are measured

What you can do

  • Using RESTful API

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Explore related projects

Loading…