Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

daegalus/fukiya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Fukiya

Join the chat at https://gitter.im/Daegalus/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

Contributors 4

  •  
  •  
  •  
  •  

Languages