Yoke is a middleware framework for Vert.x, shipping with over 12 bundled middleware.
To get started with Yoke in your project you can use Vert.x module system to download it from the maven repository or include the maven dependency your self.
At the moment this module is only compatible with Vert.x 2. It can be backported to the 1.x series but there is no work in progress in that direction.
The Vert.x module id is: com.jetdrone~yoke~1.0.1
You can get the jar file using maven with the following configuration:
<dependency>
<groupId>com.jetdrone</groupId>
<artifactId>yoke</artifactId>
<version>1.0.1</version>
<scope>provided</scope>
</dependency>
The scope is provided because you should include the module from your Vert.x application to avoid having duplicated jars in the server classpath.
Please visit: yoke
In the site there are simple examples and basic documentation of the implemented middleware.
- BasicAuth
- Favicon
- Limit
- Static
- MethodOverride
- Timeout
- BodyParser
- Vhost
- CookieParser
- ResponseTime
- ErrorHandler
- Router
You can also get tutorials:
And also Benchmarks:
- Under the directory example you will find a Naive implementation of a CMS application using Redis as a database backend.
- Mozilla Persona authentication implementation
- Groovy get started example
- JavaScript get started example
This project was inspired by Connect.
This project is released under the Apache License 2.0 as included in the root of the project.