18 January 2013

Restful Web Service in Scala and Lift

I just put up the skeleton of a rest service, I hacked together in Scala and Lift... the code is up on my github: https://github.com/wbwarnerb/Scala-RestfulService

I can't take full credit, I used a variety of tutorials (cited in the readme) and came up with that code as my solution.

Currently it has hard coded data for a city (Burbank) and it sets up a restful url of:
.../api/city/
when Burbank is caught, it returns XML data.

I'd like this to get hooked into a database (the mysql "world" sample database) and I'd like to get CRUD actions running on the service, so I can post, delete and get various values.

But I got the skeleton done.

No comments:

Post a Comment