Skip to content

valmoz/gae-vue-flask-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google AppEngine Vue Flask Starter

A simple application for Google App Engine, using Vue.js on the frontend and Flask on the backend. This project can be deployed on Google AppEngine Python 3.7 Standard Environment.

The frontend was built using the Vue CLI 3, and uses vue-router and vuex.

If you want, you can empty the /app folder and create a new Vue.js project inside it.

Install dependencies

Python dependencies:

pip install -t lib -r requirements.txt

Frontend dependencies (from the app folder):

npm install

Local run

Run the Vue.js frontend (from the app folder):

npx vue-cli-service serve

Run the backend:

python3 main.py

Deploy

Build the Vue.js frontend (from the app folder):

npx vue-cli-service build

Deploy the application on AppEngine:

gcloud app deploy

License

MIT