redstone 0.6.0
redstone: ^0.6.0 copied to clipboard

outdated Dart 2 incompatible

A metadata driven microframework for Dart

Redstone #

NOTE: v0.6 is an unstable version!

[![Join the chat at https://gitter.im/redstone-dart/redstone](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/redstone-dart/redstone?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 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.0-beta.1+4" constraint to your pubspec.

dependencies:
  redstone: "^0.6.0-beta.1+4"

The following plugins are also available for this version:

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

Want to learn more?

Check out our wiki! :)

1
likes
0
pub points
16%
popularity

Publisher

Unknown

A metadata driven microframework for Dart

Homepage

License

LICENSE

Dependencies

collection, crypto, di, grinder, http, http_server, mime, route_hierarchical, shelf, stack_trace

More

Packages that depend on redstone