-
Notifications
You must be signed in to change notification settings - Fork 0
Application Overview
Valentin Oprea edited this page Aug 19, 2022
·
8 revisions
The whole application lives inside an express JS server. At the moment the html pages are statically served and only two routes exist.
- /home
- /play
The express server contains the socket.io server and functionality which enables instantaneous communication between the client and the server. By their documentation, available here, the communication is defined as a "full duplex and low latency channel".
The main idea is that this application uses both communication protocols (stateful and stateless). The stateless, serves the web pages through REST API requests.
Below is a diagram which roughly describes the architecture (overall communication and web entities) of this application.