Wrote a RESTful server with a db connection