Creates an api of pop by using raw sql for a bottle project.
Has the ability to query by parameters.
Remotely tested with testify. Requires basic authentication for endpoints.
| username | password |
|---|---|
| user | pass |
Sql server uses self-signed ssl.
- python
- bottle
- sqlalchemy
- testify
- requests
- mssql
- alpine:edge
- python:latest
- mcr.microsoft.com/mssql/server:2017-CU17-ubuntu
sudo ./install.sh -u
- Get all pops: http://localhost/pop
- Schema id, name, and color
- CRUD opperations
- Create: curl -i -X PUT localhost/pop/ -u 'user:pass'
- Read: http://localhost/pop/ -u 'user:pass'
- Update: curl -i -X POST localhost/pop/// -u 'user:pass'
- Delete: curl -i -X DELETE localhost/pop/ -u 'user:pass'
sudo ./install.sh -d
sudo ./install.sh -h