Skip to content

💎 A demo of an application with a python flask API, postgres SQL, and a separate front-end built with vue.js.

Notifications You must be signed in to change notification settings

DurandSacha/Flask-VueJS-Docker-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

licence issue contributors

how to use this template ?

Clone this project:

git clone https://github.com/DurandSacha/Flask-VueJS-Docker-Demo

Run a npm server for vue

npm run serve

go python api

cd api

run flask api server

flask run

flask is used for API branching, while vue.js is useful for separate front-end.

How to use postgres SQL database ?

Change database variable in config.py ( SQLALCHEMY_DATABASE_URI )

initialize database :

python api/manage.py db init

make migration :

python api/manage.py db migrate

update modifications:

python api/manage.py db upgrade

Use docker compose

Docker-compose up

About

💎 A demo of an application with a python flask API, postgres SQL, and a separate front-end built with vue.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published