KR
kravivar/python-flask-full-stack
Full stack python example
python-flask-full-stack
Full stack python example
Pre-requesites
- git
- docker toolbox
Getting started
- Clone the repository
git clone https://github.com/kravivar/python-flask-full-stack.git - Run docker-compose to bring the stack up
Running stack with sqllite DB
# cd python-flask-full-stack
# docker-compose up
Running stack with mysql database
# cd python-flask-full-stack
# docker-compose -f stage-docker-compose.yml up
Example API calls
- GET -
curl http://localhost/api/dev/ - GET with id -
curl http://localhost/api/dev/?id=1 - POST -
curl -X POST -H 'Content-Type: application/json' -d '{"name":"kripa","focus":"scientist"}' http://localhost/api/dev/ - DELETE -
curl -X DELETE http://localhost/api/dev/?id=15
References
API
UI
On this page
Languages
Python38.5%HTML37.3%Shell22.8%Dockerfile1.4%
Contributors
MIT License
Created August 14, 2017
Updated July 8, 2025