Skip to main content

All Questions

Tagged with
4 votes
1 answer
3k views

Form validation code shared in the frontend and backend API?

I have a legacy Java monolithic web application. My goal is to use React on the frontend, keep Java on the backend and add an API for the frontend to use. My question is how can I write the data ...
Dan's user avatar
  • 41
6 votes
1 answer
4k views

Microservices Architecture separating backend and front end

We are trying to move (slowly) into Microservices architecture from our current monolithic based architecture. I've done my research on microservices architecture and would like to get some feedback ...
dimas's user avatar
  • 161
0 votes
0 answers
118 views

coming from java to nodejs whats the convention for error handling logging? e.message or e.stack?

I come from java, when I got an expected error I printed stack traces. I'm coming now to work on nodejs (never really worked on javascript). and in the nodejs project which I need to maintain (...
Jas's user avatar
  • 507
-2 votes
1 answer
1k views

Recently moved from Java to JavaScript on Node.js, how to maintain code?

I recently moved from Java to JavaScript on Node.js. I was very excited, opened up my IntelliJ IDE for an existing Node.js project only to find I cannot know what the parameters I see functions ...
Jas's user avatar
  • 507
1 vote
2 answers
5k views

Synchronous sockets with Node.js

I want to port an existing app from Java to Node.js - would like to seek your advise. The java app is a multithreaded socket server where arbitrary number of clients can connect. The app runs on java ...
Poliquin's user avatar
  • 113