-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find out how to connect backend and frontend #7
Comments
I will create a small PoC with a backend in Scala and Frontend in Angular to show the solution that I would choose. When the sprint will be done, I will show it if all works fine |
Maybe I'm missing some parts, but let's simplify this investigation. I'd suggest doing first the connection between frontend and the http layer (I'm afraid pure javascript only understand about http connections). The http layer, in this case, might be publishing some data through WebSockets or whatever fits better, something that javascript would understand. Later on, down the road, we could add more layers under it, using kafka, rpc, microservices, etc. |
Totally agree with you @juanpedromoreno I just created a new branch to implement this issue called Yesterday I pushed a couple of commits with a new module called After migrate the current code to freestyle, I will send the PR Commit: 0121666 |
Writing the client part in ScalaJS can be an option? |
Not at this moment, until this issue is solved: higherkindness/mu-scala#21 |
Apart from that, in this issue, we had the discussion about what we wanted to do with the client @rafaparadela #5 |
In this commit I have the first approach 78bfea2. When I migrate that code to freestyle in these days, I will submit the PR |
This issue was implementing using akka-http. As PoC it is cool but to continue with the development, we should to choose a framework purely functional. The goal of this issue is done and @calvellido can work with a stream from the backend. |
The frontend will be written in Javascript and will consume metrics from "opscenter" backend written in Scala.
This backend would be able to export metrics while HTTP2 with websocket or RPC with protocol buffer.
In this issue we will have to decide what protocol we are going to use.
After it, we will have to define the structure of the data that we are going to export from backend and we will create a mock to work with it while the backend guys work on it.
Note: This "opscenter" backend is not implemented yet.
The text was updated successfully, but these errors were encountered: