GoogleCloudPlatform/appengine-dart-todos

Name: appengine-dart-todos

Owner: Google Cloud Platform

Description: null

Created: 2015-02-23 22:46:19.0

Updated: 2018-04-05 19:21:16.0

Pushed: 2018-01-13 00:32:03.0

Homepage: null

Size: 28

Language: Dart

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

appengine-dart-todos

TodoMVC backend and frontend using the appengine Dart package.

Prerequisites
  1. Create a new cloud project on console.developers.google.com
  2. Note your Project ID. You will need it later.

FYI: You can view the content of your project's Cloud Datastore on the Google Developers Console in Storage > Cloud Datastore > Query after adding your first Todos.

Running and deploying

You need to install boot2docker and then install and setup the Google Cloud SDK:

t gcloud
rl https://sdk.cloud.google.com | bash

thorize gcloud and set your default project
loud auth login
loud config set project <Project ID>

t App Engine component
loud components update app

eck that Docker is running
ot2docker up
boot2docker shellinit)

wnload the Dart Docker image
cker pull google/dart-runtime

To run the app locally:

loud preview app run app.yaml

To open the app locally visit http://localhost:8080.

To deploy the app to production:

loud preview app deploy app.yaml

To open the app on production visit http://<Project ID>.appspot.com.

Notes

The frontend code located in /web and /lib is a copy of the Vanilla Dart version of the TodoMVC frontend and adapted to use the TodoMVC Server API handlers.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.