"# docker_react_python_api"
- POST /store_event {"name": "PMI Hawaii"}
- response {"name": "PMI Hawaii", "items": [ ]}
- POST /store_event/<PMI Hawaii>/item {"name": "Keynote Speaker X", "price": 5000}
- response {"name": "Keynote Speaker X", "price": 5000}
- GET /store_event/
- response { "stores": [
{
"name": "PMI Hawaii",
"items": [
{
"name": "Keynote Speaker X",
"price": 5000
}
]
}
]}
- GET /store_event/<PMI Hawaii>
- response {
"name": "PMI Hawaii",
"items": [
{
"name": "Keynote Speaker X",
"price": 5000
}
]
}
- GET /store_event/<PMI Hawaii>/item
- response [
{
"name": "Keynote Speaker X",
"price": 5000
}
]
- GET /store_event/<PMI Hawaii>/tag
- response [
{
}
]
- POST /store_event/<PMI Hawaii>/tag
- response [
{
}
]
- POST /item/<item_id>/tag/<tag_id>
- response [
{
}
]
- DELETE /item/<item_id>/tag/<tag_id>
- response [
{
}
]
- GET /tag/<tag_id>
- response [
{
}
]
- DELETE /tag/<tag_id>
- response [
{
}
]
- POST /register
- response [
{
}
]
- POST /login
- response [
{
}
]
- POST /logout
- response [
{
}
]
- POST /refresh
- response [
{
}
]
- py -m venv .venv
- CTRL+SH P "terminal venv"
- CTRL J "activate venv"
- docker build -t rest-apis-flask-python . "build docker"
- docker run -d -p 5005:5000 rest-apis-flask-python "via cl run deamon docker"
- cmd: flask db init
- flask db migrate
- flask db upgrade
- flask db migrate
- flask db upgrade
- elephant sql check
- git latest commit check
- docker hub container and image check
- render git deploy check
- render env sql check