bearddan2000 / python-web-pyramid-api-dolt-chained-sql-pop

Simple web app that serves an api

Home Page:https://github.com/bearddan2000/python-web-pyramid-api-dolt-chained-sql-pop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-web-pyramid-api-dolt-chained-sql-pop

Description

Simple web app that serves an api for a pyramid project.

Uses sqlalchemy chained functions to query a table pop.

Remotely tested with testify.

Tech stack

  • python
    • pyramid
    • sqlalchemy
    • testify
    • requests
  • dolt

Docker stack

  • python:latest
  • dolthub/dolt-sql-serverdb

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 (optional)

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credit

About

Simple web app that serves an api

https://github.com/bearddan2000/python-web-pyramid-api-dolt-chained-sql-pop


Languages

Language:Python 77.6%Language:Shell 19.6%Language:Dockerfile 2.8%