- Latest Release:
- Build-Status:
- Demo-System: http://hateoas-notes.herokuapp.com
hateoas-client.js is copyright 2015 by DracoBlue http://dracoblue.net
The basic idea of this project is to create a given example application with multiple media types, to evaluate which one fits best for which use case.
Currently supported media types:
- HTML (Hypertext Markup Language)
- Supported Features: Note, Note Tags, Note List, Note Creation, Note Update, Note Removal, User, User Authentication, User Registration, User Removal, Note Owner
- Demo-System: http://hateoas-notes.herokuapp.com/api/html
- HAL (Hypertext Application Language)
- Supported Features: Note, Note Tags, Note List, Note Creation, Note Update, Note Removal, User, User Authentication, User Registration, User Removal, Note Owner
- Demo-System: http://hateoas-notes.herokuapp.com/api/hal (HAL-Browser)
The HateoasNotesApp has the following given domain.
- has a title (a string)
- has a description (a text)
- can be:
- public (accessible for every
User
) - private (accessible only to editors of a
Note
)
- public (accessible for every
- has tags (an array of strings)
- has an owner (a
User
) - has editors (a list of
User
s)
- has
Notes
- may have a
User Authentication
(which makes private notes visible)
- has a username
Information to authenticate the User
.
- has a username
- has a password
A new User
can be registered with an username and the desired password.
- has a password
- has a username
A user can be removed.
- has a user (
User
)
Will create a new Note
.
- has a title
- has a description
- can be public/private
- has tags
- needs
User Authentication
to store the owner
- needs a
Note
- has a title
- has a description
- can be public/private
- has tags
- needs
User Authentication
to validate the owner or editor
- needs a
Note
- needs
User Authentication
to validate the owner or editor
A list of User
s, which are allowed to edit a Note
.
- has a note (a
Note
) - has a editor (an
User
) - needs
User Authentication
to validate the owner or editor
- has a note (a
Note
) - has a editor (an
User
) - needs
User Authentication
to validate the owner or editor
The hateoas-notes project is licensed under the MIT License. See LICENSE for more information.