Redstone.dart is available as a package at pub. So, all you have to do is add it as a dependency to your app.

name: my_app
   redstone: any
  • Run pub get to update dependencies
  • Create a bin directory
  • Create a server.dart file under the bin directory
import 'package:redstone/redstone.dart' as app;

helloWorld() => "Hello, World!";

main() {
  • To run the server, create a launch configuration in WebStorm, or use the dart command:
$ dart bin/server.dart
INFO: 2014-02-24 13:16:19.086: Configured target for / [GET] : .helloWorld
INFO: 2014-02-24 13:16:19.121: Running on