python-web-tornado-api-mysql-chained-sql-pop
Description
Simple web app that serves an api for a tornado project.
Uses sqlalchemy chained sql functions to query a table pop
.
Remotely tested with testify.
Tech stack
- python
- tornado
- sqlalchemy
- testify
- requests
- mysql
Docker stack
- python:latest
- mariadb:latest
To run
sudo ./install.sh -u
- Get all pops: http://localhost/pop
- Schema id, name, and color
- CRUD opperations
- Create: curl -i -X PUT localhost/pop/
- Read: http://localhost/pop/
- Update: curl -i -X POST localhost/pop///
- Delete: curl -i -X DELETE localhost/pop/
To stop
sudo ./install.sh -d
For help
sudo ./install.sh -h