Skip to content

Commit 04acbd8

Browse files
committed
rewrite the readme
1 parent 8cd4642 commit 04acbd8

File tree

5 files changed

+63
-2
lines changed

5 files changed

+63
-2
lines changed

.idea/artifacts/netty_light_api_server_war.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/artifacts/netty_light_api_server_war_exploded.xml

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/netty-light-api-server.iml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
# netty-light-api-server
2-
如果你和我一样是一个两三年的后端开发,却是一个 java 新手,那么这个项目非常适合你来学习使用 java 构建后端服务。
3-
我希望通过该项目的构建重现我这一年 java 之旅,项目代码会从简单到复杂逐步构建,在适当的时机我会打上 tag,方便大家学习和阅读。
2+
A light java api server build on netty, if you are preparing for leaning java or netty, it's a nice gift for you.
3+
4+
Version 1.0.0
5+
---
6+
In this version,there is no database, so you can run it directly.
7+
8+
At first, java 8 should be supported in your server.
9+
10+
There's two way to run it.
11+
12+
1. Run `net.mengkang.netty.Server` in Intellij IDEA, Then you can visit http://localhost:8080/?api=user.get&uid=1 in your browser for test.
13+
14+
2. Anther way is use java command line to run it. Download the `netty-light-api-server-1.0.0.zip` and unzip it , then run it like this
15+
```sh
16+
java -Dfile.encoding=UTF-8 -jar netty-light-api-server-1.0-SNAPSHOT.jar
17+
```

0 commit comments

Comments
 (0)