Coder Social home page Coder Social logo

miemengniao / ebook-chat-app-spring-websocket-cassandra-redis-rabbitmq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jorgeacetozi/ebook-chat-app-spring-websocket-cassandra-redis-rabbitmq

0.0 1.0 0.0 370 KB

Pro Java Clustering and Scalability: Building Real-Time Apps with Spring, Cassandra, Redis, WebSocket and RabbitMQ

Home Page: http://www.apress.com/us/book/9781484229842

Java 80.36% HTML 19.64%

ebook-chat-app-spring-websocket-cassandra-redis-rabbitmq's Introduction

Chat Application

Pro Java Clustering and Scalability

Technologies used in this project

  • Spring Boot
  • Spring Data (JPA / Cassandra / Redis)
  • Spring Security
  • Spring WebSocket
  • Spring Session
  • Cassandra
  • Redis
  • RabbitMQ
  • MySQL
  • JUnit, Mockito and TestContainers (spin up Docker containers for Integration Tests)
  • Thymeleaf, JQuery and Bootstrap
  • Apache Maven (Surefire and Failsafe plugins)

Setting up this project locally

Note: The fastest way to get this application up and running locally is using Docker and Docker Compose. Be sure that you have at least Docker 1.13.0 and Docker Compose 1.11.2 installed on your machine.

  1. Clone this repository:
$ git clone https://github.com/jorgeacetozi/ebook-chat-app-spring-websocket-cassandra-redis-rabbitmq.git
  1. Enter the repository directory:
$ cd ebook-chat-app-spring-websocket-cassandra-redis-rabbitmq
  1. Set up the dependencies (Cassandra, Redis, MySQL and RabbitMQ with STOMP support):
$ docker-compose -f docker-compose/dependencies.yml up
  1. Download and start the application:
$ wget https://github.com/jorgeacetozi/ebook-chat-app-spring-websocket-cassandra-redis/releases/download/ebook-chat-1.0.0/ebook-chat-1.0.0.jar && java -jar ebook-chat-1.0.0.jar
  1. Navigate to http://localhost:8080 and have fun!

Basic Usage

  1. Sign in with username admin and password admin
  2. Create a New Chat Room and logout
  3. Create your private account
  4. Sign in with your account credentials
  5. Join the chat room
  6. Open a new incognito window and create another account
  7. Sign in with this another account
  8. Join the chat room
  9. Send some messages
  10. Open the other browser window and see the messages coming
  11. Click the username to send private messages

ebook-chat-app-spring-websocket-cassandra-redis-rabbitmq's People

Contributors

jorgeacetozi avatar

Watchers

James Cloos 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.