python sever.py db init python sever.py db migrate python sever.py db update
pip install MySQL-python pip install Flask-Migrate
POST /signup POST /signin POST /logout
GET /api/news GET /api/news/ POST /api/news/new DELETE /api/news/ PUT /api/news/
GET /api/product GET /api/product/ POST /api/product/new PUT /api/product/ DELETE /api/product/
GET /api/news/
{
"articles": [
{
"description": <string:description>,
"id": <integer:id>,
"lang": <string:lang>,
"title": <string:title>
},
{
"description": "Esta es una descripciom",
"id": 13,
"lang": "es",
"title": "Este es un titulo"
}
],
"id": 32
}