Clone this repo:
  1. 8aaedfa Merge pull request #342 from dart-lang/sdk-dev-63 by jcollins-g · 5 weeks ago master
  2. cf3dc70 Upgrade to 2.0.0-dev.63.0. by Janice Collins · 5 weeks ago
  3. 35ea93c Merge pull request #341 from dart-lang/post-previewdart2-cleanup by jcollins-g · 5 weeks ago
  4. 403a8de more hack tweaking by Janice Collins · 6 weeks ago
  5. 846b424 Add TODO by Janice Collins · 6 weeks ago

Dart Services

A server backend to support DartPad.

Build Status Coverage Status Uptime Status

What is it? What does it do?

This project is a small, stateless Dart server, which powers the front-end of DartPad. It provides many of DartPad's features, including static analysis (errors and warnings), compilation to JavaScript, code completion, dartdoc information, code formatting, and quick fixes for issues.

Running

To run the server, run:

dart bin/server_dev.dart --port 8082

The server will run from port 8082 and export several JSON APIs, like /api/compile and /api/analyze.

Deploying

To deploy the server to Dart on AppEngine, follow the instructions here.

Modify warmup.dart to point the BASE_URI to your AppEngine project.

Then run

./tools/deploy.sh

The will deploy the server, and run the warmup sequence and sanity checks.

Related projects

See also the dart-pad repo.

Issues and bugs

Please file reports on the GitHub Issue Tracker.

License and Contributing

Contributions welcome! Please read this short guide first. You can view our license here.