Awesome Open Source
Awesome Open Source

netty-restful-server

Build Status

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.

Preview

project demo can be visited here:

1 . get user info

GET http://netty.restful.api.mengkang.net/user/1

2 . get user album info

GET http://netty.restful.api.mengkang.net/user/1/album/10?build=103

Version 1.1.0 (2016.01.07)

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

http://localhost:8080/user/1

http://localhost:8080/user/1/album/10?build=103

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
Alternatives To Netty Restful Server
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (403,713
Server (65,782
Rest (29,174
Netty (1,868