/one-hour-codelab

Learn how to build a webapp with Dart in one hour.

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Dart Code Lab Samples

Build Status

These are small Dart samples used by the following codelabs:

Repository and testing

Currently, drone.io tests only whether the .dart files under web/ pass static analysis (dartanalyzer). We could do real unit testing, and we could do better with HTML samples.

Project structure

ng2/

Code samples used by the Avast Ye Pirates code lab, which is built using Angular 2 for Dart. Each numerical version corresponds to a step in the code lab.

1-skeleton/
2-blankbadge/
3-inputnamebadge/
4-buttonbadge/
5-piratenameservice/
6-readjsonfile/

darrrt/

Code samples used by the the original pirate code lab, which is built using the dart:html library. Each numerical version corresponds to a step in the code lab.

1-blankbadge/
2-inputnamebadge/
3-buttonbadge/
4-classbadge/
5-final/

server/

Code samples used by the Beware the Nest o' Pirates code lab. Each numerical version corresponds to a step in the code lab.

1-starter/
2-simple/
4-extended/
5-generated/
6-client/
7-serve/

README.md

This file.

runtests.sh

BASH script that runs dartanalyzer on all Dart source files in the web directory.