Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.38 KB

File metadata and controls

33 lines (22 loc) · 1.38 KB

GOintegro / HATEOAS (example)

Build Status Code Climate

An example app using the GOintegro HATEOAS bundle.

Try it out

Here's a small example app, so you can feel the HATEOAS magic in your finger tips without much ado.

If you have SQLite and a couple of minutes, you can

  • clone the project,
  • install the Composer deps,
  • run app/console doctrine:schema:create to setup the db,
  • run app/console server:run to run the app at 127.0.0.1:8000,
  • run app/console doctrine:fixtures:load --fixtures=src/HateoasInc/Bundle/ExampleBundle/DataFixtures/ORM to get some data,

and try out the HATEOAS API on http://127.0.0.1:8000/api/v1.

Configure a REST client to use basic auth with the following credentials.

  • Player 1

    • username: this_guy
    • password: cl34rt3xt
  • Player 2

    • username: the_other_guy
    • password: b4dp4ssw0rd

The resources /user-groups, /users, /posts, and /comments are available.

Cheers.