Questions tagged [backend]
The backend tag has no usage guidance.
137
questions
3
votes
3
answers
378
views
Encapsulating a central soap service in a microservice?
I am currently developing an application (rest-backend and SPA) that requires information from people (personal data, department, superior... ). Our company has a central directory for this purpose. ...
0
votes
0
answers
50
views
Utilising Social Logins via OAuth2 in native mobile apps
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 ...
0
votes
3
answers
222
views
Backend to client communication: WebSocket or Message Queue?
I have a hobby project, for simplicity imagine a poker game, consisting of a backend (Spring) and a client application (Flutter) where the client can join rooms in which he can take a seat. The client ...
-3
votes
1
answer
108
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 ...
5
votes
5
answers
4k
views
What to cover with integration tests?
I'm working on adding unit/integration tests to an existing project (Java/Spring Boot) and I've been investigating on how they are "separated" in order to cover the test cases and how to ...
-3
votes
1
answer
97
views
Backend VPS requirement estimate
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 ...
0
votes
2
answers
266
views
Should I split backend into legacy and modern app to make the rewrite feasible?
My vanilla PHP backend app needs to be rewritten due to very poor design and lot of unstructured code. The legacy app is very large and the team small, so doing full rewrite in limited time is quite ...
0
votes
4
answers
350
views
How exactly is the cancellation token mechanism implemented over HTTP?
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" ...
1
vote
3
answers
234
views
frontend server obtain data from backend server, or frontend server return page with javascript that obtain data from backend server?
I'm currently learning how to separate frontend server and backend server. However, i'm not sure which approach should i take between the two
Frontend server obtain data from backend server and ...
45
votes
5
answers
7k
views
SQL sanitizing in code with no user input
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 ...
0
votes
0
answers
26
views
In a layered backend architecture is the repository/manager part still relevant? [duplicate]
We all know that in a layered backend architecture we have the Controller (or view) > Service > Repository (or Manager)
The Repository part is the part that retrieves and updates the DB.
But now ...
2
votes
1
answer
268
views
What is the best way to design a heavy lookup web app?
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 ...
0
votes
2
answers
59
views
In which layer request parameter limit should be for an external endpoint?
I have a batch endpoint of the form
POST /entities
["id1", "id2", ...]
Where the endpoint takes an array of ids and returns a batch response.
Now I want to set a maximum value to ...
1
vote
1
answer
671
views
How can we remove business logic from the frontend for complex, highly interactive UI's? Should business logic always live exclusively on the backend?
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 ...
1
vote
2
answers
496
views
Whose job actually is to process data in the database to become something like a chart in frontend?
I'm new here, so please be gentle.
I've been having issues at my workplace about the front-end team demanding me as a backend to provide every piece of data that has to be displayed in the front end. ...