Skip to content

h2000/chatty

 
 

Repository files navigation

chatty Build Status

chatty - a chat demo that evaluates several technologies (and hopefully shows best practices)

Used Technologies

Requirements

  • Java 8 JDK installed
  • Node.js installed
  • Grunt CLI installed (npm install -g grunt-cli)
  • Bower installed (npm install -g bower)
  • TSD (TypeScript Definition Manager) installed (npm install -g tsd)

Getting Started

Screenshot

Screenshot

Hypermedia API

Here is an example what you get at http://localhost:8080/chatty/api/users. Currently I am using [HAL] (http://stateless.co/hal_specification.html). The returnd mime type is "application/hal+json". To get a pretty print in Chrome, please install the Chrome extensions [JSONView] (https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc) and "application/...+json|+xml as inline"

{
  _links: {
    self: {
      href: "http://localhost:8080/chatty/api/users",
      hreflang: "en",
      profile: "chatty"
    }
  },
  _embedded: {
    users: [
      {
         _links: {
           self: {
             href: "http://localhost:8080/chatty/api/users/toedter_k"
           }
         },
         email: "kai@toedter.com",
         fullName: "Kai Toedter",
         id: "toedter_k"
      }
    ]
  }
}

What's Next?

  • More tests
  • Better TypeScript integration

License

MIT, see http://toedter.mit-license.org

About

chatty - a demo app with RESTful hypermedia APIs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published