All Projects → wileykestner → falcon-sqlalchemy-demo

wileykestner / falcon-sqlalchemy-demo

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

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Mako
254 projects

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"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].