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: 5 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-05-28T16:18:20.000Z (5 months ago)
- Last Synced: 2024-05-29T07:00:04.772Z (5 months ago)
- Topics: java, microservice, netty, rest-api, web-framework
- Language: Java
- Homepage: https://windward.flmelody.org
- Size: 424 KB
- Stars: 82
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
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)