Git Product home page Git Product logo

samples-java-chat's Introduction

CloudState Chat sample - Java services

This is part of the Cloudstate chat sample, which uses CloudState to build the friends management and (online) presence tracking features of a chat system.

These are the only two features, but in future we will add chat room support, push notifications for chat messages, etc.

The application has three components, a presence stateful function, which uses a vote CRDT to store whether a user is currently online or not, a friends service which uses an ORSet CRDT and a gateway that serves a UI. The gateway is written in Node/express, and is shared with the js-chat sample application, source code can be found at http://github.com/cloudstateio/samples-js-chat.

The UI is designed to allow connecting as multiple users in one browser window, this is for demonstration purposes, to make it straight forward to see real time interactions, online presence, friends, serverside pushes etc, without needing to open many browser tabs.

Building and running

In this repository you will find the presence and friends services implemented using Cloudstate Java support. To build the whole application please see the sample-js-chat repository above.

To build the two services please see the README in the friends and presence directories respectively.

samples-java-chat's People

Contributors

jroper avatar justinhj avatar jsravn avatar viktorklang avatar

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.