Skip to content

A demo app using Python's falcon web framework using sqlalchemy for persistence and alembic for migrations

License

Notifications You must be signed in to change notification settings

wileykestner/falcon-sqlalchemy-demo

Repository files navigation

Falcon-SQLAlchemy Demo

Run the development server

./run_dev_server.sh

Run tests

./test.sh

Test the application manually with curl

curl -X POST "http://localhost:8000/people" -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"name": "Lionel Messi"}' -w "\n"
curl "http://localhost:8000/people" -H 'Accept: application/json' -w "\n"
curl -X GET "http://localhost:8000/people/1" -H 'Accept: application/json' -w "\n"
curl -X DELETE "http://localhost:8000/people/1" -H 'Accept: application/json'
curl "http://localhost:8000/people" -H 'Accept: application/json' -w "\n"

About

A demo app using Python's falcon web framework using sqlalchemy for persistence and alembic for migrations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published