Skip to content
A metadata driven microframework for Dart.
Dart
Branch: v0.6
Clone or download
Latest commit d1fb3ed Dec 13, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Fix a bunch of warnings from the analyzer Jan 30, 2016
lib
roadmaps Add v0.6 Roadmap Apr 12, 2015
test Fix for #190 (#191) Oct 5, 2016
tool
.analysis_options Fix a bunch of warnings from the analyzer Jan 30, 2016
.gitignore
.travis.yml
CHANGELOG.md changelog Dec 12, 2016
LICENSE Initial commit Feb 20, 2014
README.md
pubspec.yaml v0.6.8 Dec 12, 2016

README.md

Redstone

Join the chat at https://gitter.im/redstone-dart/redstone Build Status

Redstone is an annotation driven web server micro-framework for Dart and influenced by Flask. It is based on shelf so you may also use any shelf middleware you like with Redstone.

Example

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

import 'package:redstone/redstone.dart' as web;

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

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

Installation

To install, set the redstone: "^0.6.4" constraint to your pubspec.

dependencies:
  redstone: "^0.6.4"

The following plugins are also available for this version:

redstone_mapper: 0.2.0-beta.1+1
redstone_mapper_mongo: 0.2.0-beta.1
redstone_mapper_pg: 0.2.0-beta.2+2
redstone_web_socket: 0.1.0-beta.1

Want to learn more?

Check out our wiki! :)

You can’t perform that action at this time.