Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages