Skip to content

GranolaServer for creating Restful web service devices out of devices such as computers and the Raspberry Pi

License

Notifications You must be signed in to change notification settings

granolamatt/GranolaServer

Repository files navigation

GranolaServer

GranolaServer for creating Restful web service devices out of devices such as computers and the Raspberry Pi.
This uses a module mentality where a jar file can be inserted into a running server.

I have tried many different servers and ultimately decided on Jetty. To compile:

  1. check out the project from git
  2. cd to GranolaServer/jetty-service directory
  3. run: mvn package

Maven will then download all requirements for jetty server and jersey and package them into a single jar. This jar is a requirement for the Netbeans project. I do not use maven to compile the project itself, only to find the dependencies.
4) Open GranolaServer project in netbeans
5) Run the server and then log into http://localhost:7023

To deploy to the raspberry pi, the jni folder needs to be compiled on the pi. This then gives ability to turn on and off gpio pins through rest server.

About

GranolaServer for creating Restful web service devices out of devices such as computers and the Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published