The pre-alpha server backend to support interactive Dart services.
This project is a small, stateless Dart server, which exposes a RESTful API. The API provides services to:
- compile Dart code
- analyze Dart code (for errors and warnings)
- perform code completion for a snippet of Dart code
- get dartdoc tooltip information for a snippet of Dart code
It is currently in a pre-alpha state, partially complete, and very much under active development.
To run the server, run:
dart bin/services.dart --port 8082
The server will run from port 8082 and export several JSON APIs, like
/api/compile
and /api/analyze
.
The discovery doc for the server's REST API is available here: http://dart-services.appspot.com/api/discovery/v1/apis/dartservices/v1/rest.
The Dart Pad repo.
Please file reports on the GitHub Issue Tracker.
Contributions welcome! Please read this short guide first. You can view our license here.