fukiya 0.2.0 copy "fukiya: ^0.2.0" to clipboard
fukiya: ^0.2.0 copied to clipboard

Dart 1 only

A simple framework to improve and simplify the creation of server-side dart applications.

Build Status

Fukiya #

Simple framework for making dart server applications easier to write. Long way to go, this is very simple. Proper documentation will be written when the library matures a bit more.

For a practical example, look at fukiya_*_test.dart tests in the test directory.

Example usage:

void main() {
  new Fukiya()
    ..get('/', getHandler)
    ..put('/', putHandler)
    ..delete('/', deleteHandler)
    ..post('/', postHandler)
    ..get('/testing', (FukiyaContext context) {
      context.send("This is testing.");
    })
    ..get('/:userid', getDynamicHandler)
    ..staticFiles('./test/static')
    ..use(new FukiyaFormParser())
    ..use(new FukiyaJsonParser())
    ..listen('127.0.0.1', 3333);
}

Changes #

See CHANGELOG file.

License #

MIT License. See LICENSE file.

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A simple framework to improve and simplify the creation of server-side dart applications.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

crypto, formler, json, log4dart, logging, static_file_handler, unittest

More

Packages that depend on fukiya