https://github.com/swimos/tutorial
Tutorials to help you build your first Swim app
https://github.com/swimos/tutorial
actor-model distributed-computing distributed-systems events java javascript open-source real-time stateful stream-api streaming streaming-api swim tutorial tutorial-code
Last synced: 6 months ago
JSON representation
Tutorials to help you build your first Swim app
- Host: GitHub
- URL: https://github.com/swimos/tutorial
- Owner: swimos
- Created: 2019-02-21T06:58:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T07:01:50.000Z (over 1 year ago)
- Last Synced: 2025-03-23T12:32:49.146Z (7 months ago)
- Topics: actor-model, distributed-computing, distributed-systems, events, java, javascript, open-source, real-time, stateful, stream-api, streaming, streaming-api, swim, tutorial, tutorial-code
- Language: HTML
- Homepage: https://swimOS.org
- Size: 131 KB
- Stars: 27
- Watchers: 11
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swim Tutorial
Swim is a completely integrated solution for building scalable, end-to-end streaming applications. Instead of requiring separate message brokers, app servers, and databases, Swim applications consist of just two pieces:
- A **Swim server** with *built-in* persistence, messaging, scheduling, clustering, replication, introspection, and security
- A **user interface** that uses Swim's streaming UI frameworks to visualize data from Swim servers in real-time
*Read this in other languages: [简体中文](README.zh-cn.md)*
## Run
* [Install JDK 11+](https://www.oracle.com/technetwork/java/javase/downloads/index.html).
* Ensure that your `JAVA_HOME` environment variable is pointed to your Java installation location.
* Ensure that your `PATH` includes `$JAVA_HOME`.* From a console pointed to the `server` directory, run `./gradlew run` (`.\gradlew.bat run` on Windows) to run the Swim server.
* Then, open `ui/chart.html`, `ui/gauge.html`, and `ui/pie.html` in your browser to see the different real-time UI components.
## How It Works
Visit [server](https://github.com/swimos/tutorial/tree/master/server) to learn how to stand up your data in a Swim server.
Then, visit [ui](https://github.com/swimos/tutorial/tree/master/ui) to learn to visualize this data like never before.