Alexis Rondeau

Archive

February 2015 · 4 dispatches

bookmarks-HATEOAS

A simple Spring Boot Application persisting Users and Bookmarks to a Hibernate DB and providing a RESTful, HATEOAS-enabled interface

Java

Bookmarks REST + HATEOAS Implementation

A simple Spring Boot Application persisting Users and Bookmarks to a Hibernate DB and providing a RESTful, HATEOAS-enabled interface

To run in STS:

Right-click the project folder -> Run as… -> Spring Boot App

To run test suite:

Right-click the project folder -> Run as… -> JUnit Test

To try it out

curl http://localhost:8080/jhoeller/bookmarks/4 | python -m json.tool

{
    "bookmark": {
        "description": "A description",
        "id": 4,
        "uri": "http://bookmark.com/2/dsyer"
    },
    "links": [
        {
            "href": "http://bookmark.com/2/dsyer",
            "rel": "bookmark-uri"
        },
        {
            "href": "http://localhost:8080/dsyer/bookmarks",
            "rel": "bookmarks"
        },
        {
            "href": "http://localhost:8080/dsyer/bookmarks/4",
            "rel": "self"
        }
    ]
}

bookmarks

A simple Spring Boot Application persisting Users and Bookmarks to a Hibernate DB and providing a RESTful interface

Java

A simple Spring Boot Application persisting Users and Bookmarks to a Hibernate DB and providing a RESTful interface

To run in STS:

Right-click the project folder -> Run as… -> Spring Boot App

To run test suite:

Right-click the project folder -> Run as… -> JUnit Test

bookmarks-HATEOAS-Secured

A simple Spring Boot Application persisting Users and Bookmarks to a Hibernate DB and providing a OAuth2 secured RESTful, HATEOAS-enabled interface

1 fork · Java

Bookmarks REST + HATEOAS Implementation

A simple Spring Boot Application persisting Users and Bookmarks to a Hibernate DB and providing a RESTful, HATEOAS-enabled interface

To run in STS:

Right-click the project folder -> Run as… -> Spring Boot App

To run test suite:

Right-click the project folder -> Run as… -> JUnit Test

To try it out

curl http://localhost:8080/jhoeller/bookmarks/4 | python -m json.tool

{
    "bookmark": {
        "description": "A description",
        "id": 4,
        "uri": "http://bookmark.com/2/dsyer"
    },
    "links": [
        {
            "href": "http://bookmark.com/2/dsyer",
            "rel": "bookmark-uri"
        },
        {
            "href": "http://localhost:8080/dsyer/bookmarks",
            "rel": "bookmarks"
        },
        {
            "href": "http://localhost:8080/dsyer/bookmarks/4",
            "rel": "self"
        }
    ]
}
Comment on Ask HN: What up with these startup salaries?

"I would anticipate a floor on pay of $125k. I don't care if that's a designer or a developer or a marketer or what"

We surveyed 250 vc-backed startups who raised more than $2,319,116,164 and found that it's much, much more complex than $125K for everyone.

If you are interested, you can get the report at http://ventureassembly.huddlemetrics.com/get

Again, disclaimer: I'm part of the founding team.