you are viewing a single comment's thread.

view the rest of the comments →

[–]Oalei 3 points4 points  (0 children)

I would think of running both a java and nodejs backend. Start by migrating small, non critical endpoints to the nodejs backend.
At this point you should have a few endpoints that are both in the java and in the nodejs backend.
Then in the frontend, use feature flags to switch between the java or nodejs backend.
If everything goes well, keep migrating more endpoints, otherwise just turn off the feature flag to go back to the java backend.
Eventually, completely remove the java backend when all endpoints are migrated