An implementation of the TodoMVC-API for Google App Engine using the Morepath framework.
-
Install the App Engine Python SDK. See the README file for directions. You'll need python 2.7 and pip 1.4 or later installed too.
-
Clone this repo with
git clone https://github.com/webmaven/appengine-todos-morepath.git
-
Install dependencies in the project's lib directory. Note: App Engine can only import libraries from inside your project directory.
cd appengine-python-morepath-skeleton pip install -r requirements.txt -t lib
-
Run this project locally from the command line:
dev_appserver.py .
See the development server documentation for options when running dev_appserver.
To deploy the application:
-
Use the Admin Console to create a project/app id. (App id and project id are identical)
-
appcfg.py -A <your-project-id> --oauth2 update .
-
Congratulations! Your API is now live at your-app-id.appspot.com
You should be able to point a TodoMVC front end at this backend.
Star this repo if you found it useful. Use the github issue tracker to give feedback on this repo.
See LICENSE