/flask-vuejs-template

RESTfull API application with SQL - VUE from cdn

Primary LanguageHTMLMIT LicenseMIT

flask-logo vue-logo

Flask VUE

App Used a uniqe Delimeters [[VUE]] and {{FLASK}}

Features

  • Flask Rest
  • Flask SQLalchemy
  • Flask Marshmallow

Application Structure

Rest Api

jsonify SQL and send via API at frontend VUE

VUE

Client Application

Fetch from VUE, but can use Axios

CSS is Bootstrap 4 from cdn

VUE load from CDN and script read at index.html/ FLASK local load JS files

API is a path /posts for all, or /post/1 for id, dictionary from Flask model Post

API

CRUD

/admin path for add new post, use app DB Browser for SQLite

HOW TO RUN
cd Snews
pip3 install requirements.txt
export FLASK_APP=app.py 
flask run