Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
redstone-dartPublic archive

About

A metadata driven microframework for Dart.

Resources

Stars

339 stars

Watchers

1 watching

Forks

Latest commit

 

History

261 Commits

Folders and files

Repository files navigation

Redstone

DEPRECATED: This project is unmaintained for a long time, and is not compatible with Dart 2.x and newer.

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! :)

About

A metadata driven microframework for Dart.

Resources

Stars

339 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages