weddingcnp via GCP - 3. endpointAPI 設計實作 demo project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

endpoint api (python)

this is demo project for weddingcnp via GCP - 3. endpointAPI 設計實作

# git clone repo
$ git clone

# install GAE python requirement packages
$ pip install -r requirements.txt -t lib
Collecting arrow==0.8.0 (from -r requirements.txt (line 1))
Collecting python-dateutil (from arrow==0.8.0->-r requirements.txt (line 1))
  Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
    100% |████████████████████████████████| 194kB 1.2MB/s
Collecting six>=1.5 (from python-dateutil->arrow==0.8.0->-r requirements.txt (line 1))
  Using cached six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, arrow
Successfully installed arrow python-dateutil-2.2 six-1.10.0

# run GAE python locally
$ app.yaml
INFO     2017-07-12 13:30:19,063] Skipping SDK update check.
INFO     2017-07-12 13:30:19,706] Starting API server at: http://localhost:51100
INFO     2017-07-12 13:30:19,710] Starting module "default" running at: http://localhost:8080
INFO     2017-07-12 13:30:19,711] Starting admin server at: http://localhost:8000

# visit http://localhost:8080