Skip to main content

Questions tagged [node.js]

Node.js is an event-based, asynchronous I/O framework that uses Google's V8 JavaScript engine.

-2 votes
0 answers
52 views

Architecture for TypeScript backend with multiple entry points or apps [closed]

I suspect this is a solved problem because I'm not doing anything very unusual, and yet I'm struggling to work out a sensible structure for my TypeScript/Node.js backend. Briefly, the project consists ...
Tamlyn's user avatar
  • 165
4 votes
4 answers
439 views

Is this too much for a modular monolith system? [closed]

A little background before I ask my questions. I've designed a system as an architect based on the requirements given to me by the client. The client has a team or two to three developers which are ...
Simple Fellow's user avatar
1 vote
0 answers
89 views

How to design a plugin architecture in Node.js?

I have a Node.js application and I want users to be able to develop custom plugins. I have multiple ideas and I am unsure how good they are. I need some tips from more experienced developers. My first ...
MeineHTMLCodes's user avatar
3 votes
3 answers
448 views

Is it a good idea to wrap node.js package functions in a micro-service architecture?

Our development team works with a micro-service node.js architecture. This means we work with a very large amount of repositories that currently each take care of their own dependencies. To avoid ...
dreagan's user avatar
  • 147
0 votes
0 answers
198 views

Should you use nested routes within NestJS for a "RESTfull" API

Here is an Example API for managing companies, employees, and their children. My entity relationships are as follows: company -1:n-> employees -1:n-> children I’ve structured the API routes ...
Doku's user avatar
  • 109
1 vote
3 answers
277 views

Where to handle Validation Errors in Business logic layer?

I'm currently designing a multi-layered application and am trying to figure out the best practice for error handling within the Business Logic Layer (BLL). Should I handle errors directly within the ...
Marko Sami's user avatar
0 votes
0 answers
83 views

Edge Case For Cookie Based Token Management

I have a React frontend and a Nodejs backend that uses authentication via an OIDC service provider. After a user goes through the SSO authentication flow I store the token (containing a refresh token ...
John's user avatar
  • 9
-1 votes
2 answers
92 views

Long running process with shared and synced status between multiple browser windows?

is it practical to store the status of a long running process in a redis key to sync the status of process across multiple browser windows of the same page? ( including new browser windows opened when ...
yeln's user avatar
  • 107
-3 votes
1 answer
164 views

Is it a bad idea to use NodeJS + Python for back end development?

I'm working on a platform that consumes and transforms data to make reports and visualize those reports in a client app. The team has experience with NodeJS and NestJS, and some of us have experience ...
Mats's user avatar
  • 1
2 votes
1 answer
97 views

Node Services and Enum Sharing

I will get to the question in a minute.... We have 2 in house services that either have an API contract between the 2 that involves an enum or the enum value is stored in a shared database. I don't ...
jdtommy's user avatar
  • 129
1 vote
1 answer
539 views

What techniques can help me identifying unused dependencies for a production build?

I have certain dependencies in my project like sequelize-auto which are not required in production, since we only need to generate the models once during development. Even if we make changes to the ...
SelloBello106's user avatar
2 votes
1 answer
443 views

What really is a "web server" in relation to popular frameworks like Flask, Node.js, Apache?

In Flask you can run a "webserver". Well really it's a "WSGI Server". Well really you shouldn't be using core server features like serving files through HTTP at all, you should be ...
Leftover Salad's user avatar
0 votes
0 answers
34 views

Balancing logic placement in the domain and general perfomance of the system

I am writing my first application using DDD (in Node with TS) and I started writing all the domain first -- before starting the repositories/DB and then the application, while writing unit tests for ...
Bernardo Benini Fantin's user avatar
1 vote
1 answer
156 views

Open source projects, SBOMs and security

I was just reading a StackOverflow question here, about extracting the version number from a node package.json file. And the simple 'read in the json and access the property in your build tool' got ...
zola25's user avatar
  • 131
0 votes
0 answers
80 views

Using messaging and rest to communicate services at the same time

I have two microservices, USERS and PRODUCTS, the second one creates objects referred to first one so it needs first to check that exists First I though in a redis cache, but then I realize that for ...
yorozuya3's user avatar

15 30 50 per page
1
2 3 4 5
34