Questions tagged [backend]
The backend tag has no summary.
142 questions
-2votes
0answers
48views
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 ...
1vote
1answer
94views
How to deliver static frontend via CDN (https) to customer for an on-prem client (http)
Our customers have specific backend programs running on their local machines with no access to the internet, we want to deliver a UI to them to help visualizing their backend(s). The customers ...
2votes
1answer
227views
Designing a Role-Based Permission System for FastAPI: Integer Roles vs Database Roles?
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 ...
-3votes
1answer
112views
How to format request and response
I am new to backend REST API development. I am creating the CRUD APIs for books using spring boot. I have a model class lets say 'user'. It will have many fields, like id, name, email, status, ...
-1votes
4answers
216views
How do you design applications with client-based DBs?
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 ...
3votes
3answers
429views
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. ...
0votes
0answers
77views
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 ...
0votes
3answers
1kviews
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 ...
-3votes
1answer
164views
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 ...
6votes
5answers
7kviews
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 ...
-3votes
1answer
113views
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 ...
0votes
2answers
304views
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 ...
1vote
4answers
616views
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" ...
1vote
3answers
383views
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 ...
45votes
5answers
7kviews
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 ...