Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nekocode/tornarest
A simple RESTful Web Service built with Tornado.
https://github.com/nekocode/tornarest
backend
Last synced: 2 months ago
JSON representation
A simple RESTful Web Service built with Tornado.
- Host: GitHub
- URL: https://github.com/nekocode/tornarest
- Owner: nekocode
- Created: 2016-01-19T06:39:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-17T01:59:25.000Z (over 8 years ago)
- Last Synced: 2024-08-08T23:24:53.442Z (5 months ago)
- Topics: backend
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 212
- Watchers: 12
- Forks: 44
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tornaREST
![](art/logo.jpg)## Description
TornaREST is a simple RESTful Web Service build with **[Tornado](http://www.tornadoweb.org/en/stable/)** 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](http://zhuanlan.zhihu.com/kotandroid/20488077)**### 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