Giter Club home page Giter Club logo

gae-vue-webapp2-starter's Introduction

Google AppEngine Vue Webapp2 Starter

NOTE: Webapp2 is not compatible with Python 3 yet. This project will be updated if Python 3 compatibility will be officially released. Please, check the Vue Flask Project for Python 3 support.

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

The frontend was built using the Vue.js Webpack template, and uses vue-router and vuex; vue-router and vuex store are kept in sync using vuex-router-sync.

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):

npm run dev

Run the backend:

dev_appserver.py .

Deploy

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

npm run build

Deploy the application on AppEngine:

gcloud app deploy app.yaml

License

MIT

gae-vue-webapp2-starter's People

Contributors

dependabot[bot] avatar mvalota-goreply avatar valmoz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gae-vue-webapp2-starter's Issues

Missing package.json

'npm install':

npm WARN saveError ENOENT: no such file or directory, open '/home/tom/work/Playground/vue/gae-vue-webapp2-starter/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/tom/work/Playground/vue/gae-vue-webapp2-starter/package.json'
npm WARN gae-vue-webapp2-starter No description
npm WARN gae-vue-webapp2-starter No repository field.
npm WARN gae-vue-webapp2-starter No README data
npm WARN gae-vue-webapp2-starter No license field.

up to date in 0.633s
found 0 vulnerabilities

'npm run dev`:

npm ERR! path /home/tom/work/Playground/vue/gae-vue-webapp2-starter/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/tom/work/Playground/vue/gae-vue-webapp2-starter/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/tom/.npm/_logs/2018-12-25T21_29_21_144Z-debug.log

Missing `dev` script

npm run dev:

npm ERR! missing script: dev
`package.json`:

{
  "name": "gae-vue-webapp2-starter",
  "version": "1.0.0",
  "description": "A simple application for [Google App Engine](https://appengine.google.com/), using [Vue.js](https://vuejs.org/) on the frontend and [Webapp2](https://webapp2.readthedocs.io/) on the backend. This project can be deployed on Google AppEngine Python Standard Environment.",
  "main": "index.js",
  "directories": {
    "lib": "lib"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Valmoz/gae-vue-webapp2-starter.git"
  },
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/Valmoz/gae-vue-webapp2-starter/issues"
  },
  "homepage": "https://github.com/Valmoz/gae-vue-webapp2-starter#readme"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.