Skip to content

juhoen/tornado-swagger-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tornado Swagger implementation

Implement Swagger in your Tornado project. The related article can be found from Medium.

Getting started

Installing requirements

To run this application, you must have pipenv installed on your machine. If you are unfamiliar with Pipenv, I recommend reading through their documentation. Installation guide can be found from here.

Now, you can install all the requirements by running

pipenv install

Running the application

The application entry file is app.py. First, activate the virtual environment by running ...

$ pipenv shell

... and then, run the application ...

$ python app.py

Note

Please note, that this project is purely written for example purposes. Having said that

  • PEP8 violations might be present
  • Proper testing is missing
  • Lacking a proper database implementation
  • Some error handlings might be missing for the sake of simplicity