Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 .

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


windward

## 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)