All Projects → benorama → ngrx-realtime-app

benorama / ngrx-realtime-app

Licence: other
Demo to build a realtime Angular app with a Vert.x backend and distributed event bus

Programming Languages

typescript
32286 projects
HTML
75241 projects
groovy
2714 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to ngrx-realtime-app

Online-Chess
A chess website where people can play against each other online.
Stars: ✭ 28 (-37.78%)
Mutual labels:  realtime
NasdaqCloudDataService-SDK-Java
Nasdaq Data Link provides a modern and efficient method of delivery for real-time exchange data and other financial information. This repository provides a Java SDK for developing applications using Nasdaq Data Link's real-time data.
Stars: ✭ 70 (+55.56%)
Mutual labels:  realtime
fastapi websocket pubsub
A fast and durable Pub/Sub channel over Websockets. FastAPI + WebSockets + PubSub == ⚡ 💪 ❤️
Stars: ✭ 255 (+466.67%)
Mutual labels:  realtime
Channelize-Javascript-SDK
Open-source JavaScript SDK to enable Real-time Chat.
Stars: ✭ 20 (-55.56%)
Mutual labels:  realtime
Video-Engine-Dash
A Dash plugin for playing back video and optionally syncing video to timestamped CSV Data
Stars: ✭ 26 (-42.22%)
Mutual labels:  realtime
Websockets-Vertx-Flink-Kafka
A simple request response cycle using Websockets, Eclipse Vert-x server, Apache Kafka, Apache Flink.
Stars: ✭ 14 (-68.89%)
Mutual labels:  vertx
real-time-cryptocurrency-market-prices-websocket
A complete look at the available websockets and how you can use them to implement the executium market data into your own projects.
Stars: ✭ 31 (-31.11%)
Mutual labels:  realtime
tideflow
Building extensible automation. Tideflow is a Realtime, open source workflows execution and monitorization web application.
Stars: ✭ 101 (+124.44%)
Mutual labels:  realtime
openapi4j
OpenAPI 3 parser, JSON schema and request validator.
Stars: ✭ 92 (+104.44%)
Mutual labels:  vertx
MobilePose
Light-weight Single Person Pose Estimator
Stars: ✭ 588 (+1206.67%)
Mutual labels:  realtime
SVisual
Monitoring and record(save) of data for Arduino and STM32
Stars: ✭ 21 (-53.33%)
Mutual labels:  realtime
xavc rtmd2srt
Extract real time meta-data and GPS tracks from Sony XAVC video
Stars: ✭ 29 (-35.56%)
Mutual labels:  realtime
UnityRaymarching
raymarching experiment in unity
Stars: ✭ 73 (+62.22%)
Mutual labels:  realtime
acebase
A fast, low memory, transactional, index & query enabled NoSQL database engine and server for node.js and browser with realtime data change notifications
Stars: ✭ 288 (+540%)
Mutual labels:  realtime
UPPERCASE
실시간성에 특화된 풀스택 프레임워크 ✨
Stars: ✭ 30 (-33.33%)
Mutual labels:  realtime
ClusterWS-Client-Swift
☄️ Swift Client for ClusterWS - lightweight, fast and powerful framework for building scalable WebSockets applications in Node.js.
Stars: ✭ 20 (-55.56%)
Mutual labels:  realtime
TD-OpenCV3TOP
Touchdesigner OpenCV3 C++ TOP for FaceDetect
Stars: ✭ 90 (+100%)
Mutual labels:  realtime
python-realtime-table
Building realtime table using Python and Channels
Stars: ✭ 12 (-73.33%)
Mutual labels:  realtime
barracuda-style-transfer
Companion code for the Unity Style Transfer blog post, showcasing realtime style transfer using Barracuda.
Stars: ✭ 126 (+180%)
Mutual labels:  realtime
vertx-graphql-example
Vert.x Server which exposes a GraphQL API
Stars: ✭ 29 (-35.56%)
Mutual labels:  vertx

Introduction

This is a proof of concept that demonstrates the ability to build a realtime app with an Angular web client (powered by a Ngrx data architecture) and a Vert.x server.

Please check the Medium article Building a realtime web app with Angular/Ngrx and Vert.x for more info.

Goals

  • share and synchronize a common (Ngrx-based) state between multiple connected clients,
  • distribute in realtime (Ngrx-based) actions across multiple connected clients (which impact local states/reducers).

Note: @ngrx/store is a RxJS powered state management inspired by Redux for Angular apps. It's currently the most popular way to structure complex business logic in Angular apps.

Demo

For the demo, the app uses a simple counter example, with increment, decrement and reset actions.

Demo

Running the apps locally

# Clone the repo
git clone https://github.com/benorama/ngrx-realtime-app.git

Prerequisites:

Vertx server app

First, compile and run Vertx app locally.

# Go into core module directory
cd ngrx-realtime-app/server

# Build project
./gradlew shadowJar
# Or gradle shadowJar if you have Gradle installed locally

# Run the server app locally
java -jar build/libs/server-1.0.1-fat.jar

Angular client app

# Go into Angular app directory
cd ../client

# Install dependencies (you can get a burger...)
npm install
# Or yarn

# Run the client app locally
ng serve

To test the app:

  • open the client app in two separate browser windows,
  • login with 2 different user names,
  • increment/decrement/reset counter

Bugs and feedback

If you have any questions or suggestions to improve the demo app, don't hesitate to submit an issue or a pull request!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].