I am trying to create a web app in React.js and Scala. So I have a programing code in Scala which just prints a random Name with the current time it prints in my stdout as Json object. It looks something like this.
{ Name : Ash TimeLastActive: 14:24:06:6456}
{ Name : Kum TimeLastActive: 15:44:06:6456} ...
- first thing is i want this println message to go to responses of my web app that I am about to create in react. how can i do that in scala?
- my react webapi would be very simple. It would have a start button which should run the scala program and whatever the program outputs on stdout should come to my webpage and diplsay there till i press the stop button. How should i handle this in the front end side .
- Can you tell me hwat all technologies should i need to be familiar with to go ahead and make this project happen and at which point do i need which technology.