A light and high performance restful server built on netty. If you are preparing for leaning java or netty, it's a nice gift for you.
project demo can be visited here:
1 . get user info
2 . get user album info
In this version,there is no database, so you can run it directly.
At first, java 8 should be supported in your server.
There's two way to run it.
1 . Run
net.mengkang.demo.ServerLauncher in Intellij IDEA, Then you can visit
in your browser for testing.
2 . Anther way is using java command line.
Download the netty-restful-server-1.1.0.zip and unzip it , then run it like this:
java -Dfile.encoding=UTF-8 -jar netty-restful-server-1.0-SNAPSHOT.jar