Giter Site home page Giter Site logo

hateoas-notes's Introduction

hateoas-notes

hateoas-client.js is copyright 2015 by DracoBlue http://dracoblue.net

What is hateoas-notes?

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)

HateoasNotesApp Domain

The HateoasNotesApp has the following given domain.

Note

  • 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)
  • has tags (an array of strings)
  • has an owner (a User)
  • has editors (a list of Users)

Note List

  • has Notes
  • may have a User Authentication (which makes private notes visible)

User

  • has a username

User Authentication

Information to authenticate the User.

  • has a username
  • has a password

User Registration

A new User can be registered with an username and the desired password.

  • has a password
  • has a username

User Removal

A user can be removed.

  • has a user (User)

Note Creation

Will create a new Note.

  • has a title
  • has a description
  • can be public/private
  • has tags
  • needs User Authentication to store the owner

Note Update

  • needs a Note
  • has a title
  • has a description
  • can be public/private
  • has tags
  • needs User Authentication to validate the owner or editor

Note Removal

  • needs a Note
  • needs User Authentication to validate the owner or editor

Editors

A list of Users, which are allowed to edit a Note.

Add a Note Editor

  • has a note (a Note)
  • has a editor (an User)
  • needs User Authentication to validate the owner or editor

Remove a Note Editor

  • has a note (a Note)
  • has a editor (an User)
  • needs User Authentication to validate the owner or editor

License

The hateoas-notes project is licensed under the MIT License. See LICENSE for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.