Skip to main content

Questions tagged [backend]

Filter by
Sorted by
Tagged with
2 votes
4 answers
140 views

I'm developing a multithreaded game server (C/TCP). I need to send a list of 50-100 available games to a console client. Option A: Send 50-100 separate messages, using send() for every single ...
dok's user avatar
  • 311
0 votes
2 answers
111 views

I’m building a modular REST API using Node.js + Express + TypeScript. My controllers are defined as classes. In my route files, I currently create a new controller instance, like this: import { Router ...
dok's user avatar
  • 311
0 votes
2 answers
195 views

I am doing the frontend for a Java Spring backend. The project uses JavaFX for the front but I a migrating it for web usage (with VueJS). When I make an API call to retrieve an object, I am receiving ...
Bernardo Benini Fantin's user avatar
12 votes
4 answers
3k views

In our current architecture, we have a React frontend communicating with a Rust backend via REST calls. We are considering introducing a PostgreSQL database, and my colleague suggests that we should ...
user avatar
2 votes
1 answer
294 views

Problem: I am building a FastAPI based API and need to design a role-based permission system for authorization. Users can have one of three roles: Admin, Developer, and Operator. These roles are ...
Mehdi Ben Hamida's user avatar
-1 votes
4 answers
252 views

Here's what a typical application that adopted the client-server architecture looks like: A client-based frontend issues requests to a company backend server The company backend server accepts the ...
Sergey Zolotarev's user avatar
0 votes
0 answers
93 views

This question has been asked over and over again, but I have not yet found a satisfying answer: How to use Social Logins (via OAuth2) to obtain access tokens for your backend if your only clients are ...
rsmidt's user avatar
  • 9
-3 votes
1 answer
198 views

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
-3 votes
1 answer
132 views

I have an idea for a mobile app, but As I'm not from a Software background, I need to know how much the backend operations will cost before I commit time and resources to develop this idea. In this ...
GeethVS's user avatar
1 vote
4 answers
743 views

In a web application with a frontend and a backend part, how exactly is the cancellation token mechanism implemented over HTTP? HTTP is a stateless protocol and it does not allow "sharing" ...
Val's user avatar
  • 177
45 votes
5 answers
7k views

In my company's codebase, we hardcode sql queries without using an ORM. Here's an example of a query we would run: UPDATE client SET status="active" WHERE client_id=123 Since the query is ...
half of a glazier's user avatar
2 votes
1 answer
331 views

I am facing a bit of a conundrum with how I can structure my application, as I try to balance speed, cost, and efficiency. I currently have a website, algfinder.com, which solves states of rubik's ...
713sean's user avatar
  • 131
1 vote
1 answer
860 views

I have a UI for a tool with a fair amount of user interaction. Imagine a sports tournament predictor where you select which team will finish 1st in the group, 2nd in the group etc., with the winners ...
MSOACC's user avatar
  • 965
-1 votes
1 answer
667 views

I'm building a web app that will integrate with the Etsy REST API and persist information in a database for things like order information, listings, etc. Essentially a panel to manage Etsy orders and ...
juyebgastro's user avatar
1 vote
1 answer
115 views

recently i came across an architectural diagram in my organization, where a backend service sends messages to itself using Kafka, so basically it queues the messages and reads from the queue and ...
Gitonga Tosh's user avatar
3 votes
1 answer
123 views

My domain requires that a Resource (ubiquitous language for a singular unit of data to be moved - commonly a file or folder) can only be moved if it has been Scanned to ensure it does not contain any ...
Patrick Christie's user avatar
-2 votes
1 answer
195 views

I have a design question to all the programmers out there. Until now, I wrote most of my software in vb.NET oder C#, especially if I needed a Frontend. Now I would like to have a Frontend which is ...
Manuel's user avatar
  • 97
35 votes
10 answers
10k views

An external consultant to our team advised us to rewrite our SaaS offering (essentially a CRUD API) in .NET because this is more "scalable" than using Node.js (or Ruby on Rails, Flask, etc.)....
Vincent's user avatar
  • 544
41 votes
6 answers
20k views

In our company we had a discussion whether formatting data in a certain locale is the responsibility of the frontend application or of the API that provides data to it. Which of the following ...
Dario's user avatar
  • 1,065
1 vote
2 answers
2k views

For a RESTful API, consider a model schema as follows: MyCoolObject { field_a field_b field_c } Is it better to create one update endpoint to update one or many fields on the model? Or create ...
Jake Chambers's user avatar
2 votes
4 answers
200 views

I have a monolith CRUD application with a feature - possibility to export some DB entires to an Excel file. The export is done within a background task. Often, however, when user presses the button ...
miqem's user avatar
  • 105
-3 votes
1 answer
488 views

I know that a lot of compilers use an assembler to compile to machine code, to make an executable (compiled program). Some people even made their own assemblers, or they just use an existing assembler,...
Jack Murrow's user avatar
0 votes
0 answers
75 views

We are building a backoffice web application where people are making changes to an array of nested objects. Because of totally non relevant business reasons there are things that users cannot change ...
atoth's user avatar
  • 539
0 votes
1 answer
784 views

I have a multithreaded backend application. It is inputted x, and outputs y, and this makes up a "job". A job can take up to several seconds to complete. The application is fed input via ...
Tom's user avatar
  • 109
4 votes
3 answers
744 views

Currently I'm on a project where my objective is to obtain the best code quality. We have unit, integration & e2e testing. The e2e tests are written by the Business team in cucumber and these ...
Imaky's user avatar
  • 148