Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flmelody/windward
Lightweight Java Web framework, powered by Netty power. Do whatever you want , the result is in your hands .
https://github.com/flmelody/windward
java microservice netty rest-api web-framework
Last synced: 7 days ago
JSON representation
Lightweight Java Web framework, powered by Netty power. Do whatever you want , the result is in your hands .
- Host: GitHub
- URL: https://github.com/flmelody/windward
- Owner: Flmelody
- License: apache-2.0
- Created: 2023-06-29T11:31:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T21:41:21.000Z (14 days ago)
- Last Synced: 2024-12-15T11:33:39.088Z (9 days ago)
- Topics: java, microservice, netty, rest-api, web-framework
- Language: Java
- Homepage: https://windward.flmelody.org
- Size: 477 KB
- Stars: 84
- Watchers: 1
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Windward
![GitHub](https://img.shields.io/github/license/Flmelody/windward)
![Maven Central](https://img.shields.io/badge/dynamic/xml?url=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2Forg%2Fflmelody%2Fwindward%2Fmaven-metadata.xml&query=%2F%2Fmetadata%2Fversioning%2Flatest&label=maven-central)[δΈζ](README.zh-CN.md)
Light web framework for Java
## Quick start
### Add maven dependency
```xml
org.flmelody
windward
1.5.3-RELEASE```
use jackson
```xml
com.fasterxml.jackson.core
jackson-databind
2.17.1```
or gson
```xml
com.google.code.gson
gson
2.10.1```
add logback
```xml
ch.qos.logback
logback-classic
1.3.14```
`logback.xml`
```xml
%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n
```
### Run
```java
public class Application {
public static void main(String[] args) {
// started at 8080 default
Windward.setup().get("/", () -> "Hello World!").run();
}
}```
Everything is fine ! π, You'll see something like below
![windward-started](windward-started.png)
### Benchmark
![rps.png](rps.png)