All Questions
Tagged with node.js server-side
7 questions
0
votes
0
answers
33
views
Is there a way to add impending state changes to a queue on a node server, and is it necessary?
I'm writing an express/socket.io-powered game server for a web game. I have a central map of game state objects, each representing an ongoing match, like so:
// map of gameId -> game (primary ...
-4
votes
1
answer
452
views
Where to store the images on Server-side and not to store in the static folder and How to retrieve them on request?
I am creating a Nodejs website and the website is about selling photos, although I will store the images on the static folder but in the low quality or watermarked. But When the user Purchases that ...
3
votes
1
answer
173
views
Storing username and password for another site in Node and MongoDB
This is not about storing my user's login details in the app, I already use hash and JWT tokens for that. There is a part of our app where we need to store the login details of the user for another ...
7
votes
2
answers
1k
views
Do CPU Intensive/ Data Intensive Tasks belong on the Server
I'm new to server development, and I'm trying to figure out where the division of responsibilities is for Data intensive tasks, I'm using Node.js.
As an example say I'm making a Single Page ...
0
votes
1
answer
482
views
Best practice to send data to webhooks without multiple redirects
I’m building a payment system for some ebooks with Reactjs on the frontend, Firebase as hosting and database and cloud functions at the backend side. Customers don’t need an account to buy ebooks so ...
6
votes
3
answers
3k
views
Dividing responsibilities between client and server
I'm working on a Web app that uses node.js on the server and AngularJS on the client. I'm new to Angular, but enables writing client-side applications that can be more self-contained than some other ...
10
votes
4
answers
19k
views
Is node.js a good fit for background processing?
I'm slowly learning node.js and have a small project I want to start. The project will have a lot of background processes (downloading data from external sites, parsing CSV files, etc.).
A big "win" ...