Home

Derrick Liu edited this page Sep 4, 2016 · 14 revisions

Introduction

Redstone is a server-side, metadata driven microframework for Dart.

How does it work?

Redstone allows you to easily publish your functions and classes through a web interface, by just adding some annotations to them.

import "package:redstone/redstone.dart" as app;

@app.Route("/")
helloWorld() => "Hello, World!";

main() {
  app.setupConsoleLog();
  app.start();
}

Does this example look familiar? Redstone.dart took a lot of ideas and concepts from the Python's Flask microframework.

Improve this wiki

Found a problem? Feel free to improve this wiki :)