Skip to content
/ fukiya Public
forked from daegalus/fukiya

Simple framework for making dart server applications easier to write.

License

Notifications You must be signed in to change notification settings

tsander/fukiya

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple framework for making dart server applications easier to write.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 100.0%