-
Notifications
You must be signed in to change notification settings - Fork 46
Mission Statement
This project shows howto build a project that is reactive in the frontend and in the backend. In the frontend is Angular with observables. That makes the frontend reactive(Promises work too). In the backend there is reactive Spring with the reactive Mongodb driver. That provides a reactive backend. That means the server calls(except for signup) of the frontend to the backend are non blocking. They do not use a thread during the db request.
The Spring Webflux offers a two apis for reactive programming. This project uses the controller api because there is more commonality to the blocking implementation. Under the hood it offers the same non blocking features but since it looks similar it is easy to make the step into reactive.
For a production project the frontend and the backend would be separated. One project for the frontend. One for the backend. That would enable the use netty as server and not use jetty with async servlets. This project should show howto integrate all the needed features of the frontend and the backend. For serving the frontend servlets are needed.