valmoz / gae-vue-flask-starter

A simple GAE Vue Flask starter project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple GAE Vue Flask starter project.

License:MIT License


Languages

Language:Vue 40.3%Language:Python 37.1%Language:JavaScript 14.9%Language:HTML 7.7%