Skip to content

francois-baptiste/aiohttp

 
 

Repository files navigation

Polls (demo for aiohttp)

Example of polls project using aiohttp, aiopg and aiohttp_jinja2, similar to django one.

Installation

Install the app:

$ cd demos/polls
$ pip install -e .

Create database for your project:

bash sql/install.sh

Run application:

$ python -m aiohttpdemo_polls

Open browser:

http://localhost:8080/

https://raw.githubusercontent.com/andriisoldatenko/aiohttp_polls/master/images/example.png

Run integration tests:

pip install tox
tox

Requirements

About

Async http client/server framework (asyncio)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 74.4%
  • HTML 11.7%
  • PLpgSQL 5.4%
  • Makefile 3.9%
  • Shell 3.8%
  • CSS 0.8%