8,577 questions
-3
votes
0
answers
19
views
What is the practical learning roadmap for becoming production‑ready with FastAPI? [closed]
I have a solid foundation in Python and basic REST APIs, and I’m starting to use FastAPI for backend development.
Most tutorials focus only on creating simple CRUD APIs, but I want to understand what ...
Advice
2
votes
1
replies
46
views
Can we increase Stripe’s uncaptured Payment Intent window?
In one of my project flows, a customer books a provider for a job and we create a Payment Intent without capturing it. We only capture the Payment Intent after the job is completed, and the funds are ...
Best practices
1
vote
2
replies
65
views
How to write idiomatic Go business logic for CRUD involving multiple tables/models?
I am refactoring my backend where clients can start threads and make replies. I keep a 3-layer architecture with thin handlers that bind and validate, service layer with all business logic, and a repo ...
0
votes
0
answers
38
views
Handling file uploads in a Next.js App Router backend-only API — Multer doesn’t work, what’s the best approach?
I’m building a backend-only Next.js API project (npx create-next-app@latest --api) that serves a frontend hosted on another platform (React Native, web app, etc.).
I need to handle file uploads (...
0
votes
2
answers
50
views
DDD: Is missing entity a domain concern or an application concern?
I’m working on a DDD-based application and I’m unsure where “Entity Not Found” should be modeled.
In many cases, the application layer loads an aggregate via a repository:
const warehouse = repository....
Advice
0
votes
6
replies
100
views
Has the definition of front-end and back-end changed?
Lately, I've seen so many job ads labeled 'front-end' that ask for experience with back-end technologies.
For example, I've seen jobs labeled front-end that have asked for experience with databases ...
Advice
3
votes
1
replies
77
views
How to redact information in API depending on authorization of client in scalable way?
I am writing a forum-like API and I want to protect private information from unauthorized users. Depending on the role of client that makes a request to `GET /posts/:id` I redact information such as ...
Best practices
0
votes
6
replies
68
views
Implementing ACID with Transactions in Modular Monolitic Backend
Edit 03/12/2025
I ended up using the ctx *fiber.Ctx as a solution.
My handlers, usecases, orchestrators and repositories receives my request context. In my orchestrator I create my unified transaction ...
0
votes
1
answer
47
views
unable to make changes on DB or admin after crud operation./formset
I am building a mid-level project called School-Admin Panel with Django. I have completed most of the segments sucessfully, but I am having an issue with the performance forest.
The formset loads and ...
1
vote
2
answers
106
views
ERROR 415 Unsupported Media Type In Postman
I'm trying to upload a property object (JSON) along with multiple images using multipart/form-data But Spring Boot keeps returning:
415 Unsupported Media Type
Content-Type 'application/octet-stream' ...
Advice
0
votes
9
replies
96
views
How to compare a custome Type to an object obtained from Request.body? - Typescript
I'm trying to verify if a parameter of the req.body respects the Type contraints that I set on the custom type
How can I, for example, compare that the content of req.body.conditioncorresponds with ...
0
votes
0
answers
40
views
OneSignal push notifications not triggered when sending messages from Flutter app (but test notifications work)
I’m using OneSignal in my Flutter app to send push notifications between a client and admin when they exchange messages (like a support chat).
Here’s what’s happening:
Sending test notifications ...
0
votes
2
answers
98
views
Running `nodemon server.js` opens `nodemon.js` file in text editor instead of executing
I installed nodemon globally and locally I added it to the environment path. I tried to use flags but nothing works
One month ago (last time I used it), it was running completely fine. Now it's ...
0
votes
0
answers
42
views
Nextcloud Tables app, problem with type link columns
I’m trying to create a simple app where I can insert data into a Nextcloud app called “Tables”. This app has an API, so I can insert the data through that.
Everything was working well until I changed ...
2
votes
1
answer
87
views
Start a Tauri app which calls C function using sudo without password
I have made a Tauri app. This app uses C in the backend. The C file contains multiple functions. Some functions use the sudo command to get data. I have started this C file in the Tauri app by writing ...
0
votes
1
answer
75
views
Django migrations error: psycopg2.errors.InsufficientPrivilege: permission denied for schema public. How to resolve this error?
I’m trying to run Django migrations on my local PostgreSQL database, but I’m hitting a permission error.
Setup:
Windows 10
PostgreSQL installed locally
Django project using PostgreSQL (psycopg2)
...
0
votes
0
answers
32
views
agora media push apis to support passing text as a label
I am using these apis in create and update converter. We handle these from BE side.
we want to pass text to display participants names...etc
it can't be shown here that it's supported
I tried adding ...
0
votes
1
answer
66
views
How to generate distinct_id from Mixpanel GO SDK?
Mixpanel Support is telling me to set the $device_id and $user_id, and let the go SDK decide on the $distinct_id, but all the Mixpanel-Go APIs in the library expect me to provide the distinct_id. So ...
0
votes
1
answer
52
views
File not reaching backend on Streamlit - stuck on uploading on backend (localhost)
I've been trying to upload a file to streamlit and it is getting stuck on the uploading part. It was working perfectly before, the LLM was connected and I was getting correct responses. Then I added ...
0
votes
1
answer
141
views
How to make a WPF program launched by a background process gain focus? [closed]
I have a custom-styled WPF application that is launched by a background process, which in turn is started by a Windows Service. The service runs in Session 0, while the background process and WPF app ...
2
votes
1
answer
146
views
How to dynamically update only provided fields in PostgreSQL using Neon + TypeScript + Zod schema?
I’m working on a Node.js/Express backend using PostgreSQL (Neon serverless), TypeScript, and Zod for validation.
I have a Students table with columns:
id UUID PRIMARY KEY,
firstName TEXT NOT NULL,
...
0
votes
2
answers
581
views
Nodemailer works locally but throws error "Connection timeout" on Railway
I am developing a project in Node.js and I need to send emails to my clients using Nodemailer. Locally, it works perfectly. When deploying to Railway, I get the following error:
[2025-09-01 16:00:00] ...
1
vote
0
answers
121
views
Parameter 0 of method entityManagerFactory in PrimaryDataSourceConfig required a bean of type EntityManagerFactoryBuilder that could not be found
I am trying to configure 2 databases in a single spring boot application. So that I have configured 2 separate Config files for Postgres and Postgres vector DB.
@Configuration
@...
0
votes
0
answers
45
views
Expo Eas Build apk of my app doesn't connect to the backend on real device but it works fine on expo go
My project works well with expo go: tne connection with its backend is fine.
I created the android apk, installed it with "eas build --platform android --profile preview" on my mobile and ...
0
votes
0
answers
32
views
How does setting the cookies samesite attribute to strict affect a web application with the FE and BE on two different sub domains?
In my web app, I have whitelisted all the domains for CORS. I still need to set the sameSite and secure attributes for cookies. My frontend and backend are in 2 different sub domains. my microservice ...
1
vote
1
answer
65
views
How to handle E2E API Request in Backend correctly?
I have set up an api backend using FastAPI. Backend testing has been done already. But I don't know how to test the frontend correctly which is usign the api. Because I want at least one test that is ...
1
vote
1
answer
60
views
Two API with same structure but when calling from postman one is working without sessionid and credential and another is not working
I have created two api's in my spring mvc project which have identical structure. But while calling using Postman or while hitting the APIs in browser/UI project, one is working without any credential ...
0
votes
0
answers
36
views
Frontend service not able to resolve to backend service in docker network [duplicate]
My frontend in react is unable to resolve name 'backend' in python. I am using docker-compose. The docker-compose.yaml file is given below. What's wrong?
version: '3.8'
services:
# PostgreSQL ...
1
vote
2
answers
2k
views
Candid UI not showing shared query method in Motoko
I'm building a simple Internet Computer dapp using Motoko and DFX version 0.28.0. My backend canister (dbank_backend) contains a checkBalance function defined as a public shared query:
import Debug &...
-2
votes
1
answer
92
views
Change of status from active to inactive in backend
In my application admin can toggle company, employees, products status from active to inactive. I simply keep status flag on all the entities and change it accordingly by saving a moderation log per ...
0
votes
1
answer
129
views
Laravel Sanctum API: Authenticated user is null causing 500 error
I'm new to Laravel and building a backend API system from scratch using Laravel + Sanctum (no frontend yet, just Postman for now). I'm trying to create a simple authenticated API where each logged-in ...
0
votes
0
answers
26
views
Is the route handler in Express also considered part of the middleware chain? [duplicate]
I understand that middleware functions in Express use the (req, res, next) signature and are added using app.use()
But since a route handler also receives (req, res) or even (req, res, next), is it ...
-1
votes
1
answer
64
views
set cookie header is available in network tab but cookie is not set
I had hosted the server on the localhost:3000 and frontend on the localhost:5173 when i send the request to the server i get the response in network tab.
using node.js in backend and react in frontend
...
0
votes
2
answers
180
views
Do mobile apps and websites usually share the same backend and database?
I'm building a project that includes both a mobile app (built with Jetpack Compose) and a web app (built with React.js). I want to know the correct architectural approach:
Should both platforms ...
0
votes
0
answers
61
views
Why doesn't my Login button work in React Native?
Login button in React Native doesn’t trigger fetch request or show any response.
When I tap the Login button, I expect it to send a POST request to my backend server, get a response, and show an alert ...
0
votes
1
answer
106
views
Always getting `Document with the requested ID already exists.' in Appwrite
I'm getting a persistent "Document with the requested ID already exists" error when trying to create documents in my users_profiles collection, even though:
No duplicate document IDs exist -...
0
votes
1
answer
137
views
NestJS/TypeORM Multi-tenancy (Schema-based) - DataSource Inject & Repository Init Issue in Specific Service
I'm implementing schema-based multi-tenancy with NestJS, TypeORM, and PostgreSQL, following a pattern similar to https://github.com/thomasvds/nestjs-multitenants/tree/master.
Most services work fine, ...
0
votes
1
answer
33
views
Multiple sessions created on my backend on the First Load from Next.js
I am using Moqui Framework for the backend.
The Problem:
On first load, multiple API calls are made in parallel from different components.
Since there’s no session cookie yet on the first visit, the ...
0
votes
1
answer
93
views
i have a monorepo project. i have a used nx for this project
when i try to run the backend im facing this error in the terminal.the issue i m facing is when i merge code im not able to run the project because nx daemon
npx nx serve backend
NX Daemon process ...
2
votes
1
answer
240
views
Getting TypoScript from Backend (non-Controller)
A very similar question has already been asked here. I tried to comment to emphasize, but I am not allowed. I tried asking my question in an answer there, but it was deleted instantly. Understandable, ...
1
vote
0
answers
44
views
Flask helper function not saving files to app.config['UPLOAD_FOLDER'] path
I'm working on a Flask application and have created a file_handler.py file to organize some utility functions. One of the functions in helper.py is supposed to save an uploaded file to the folder ...
0
votes
0
answers
39
views
Laveral Twill "Edit" Button Rename to the "View"
I am using the "Laravel Twill" as a Backend, And we are struggling to rename the provided name. As example once the user is submitted form it goes to the backend.Then from the CMS Side I ...
0
votes
1
answer
71
views
Why is my registration still failed after Operation `users.insertOne()` buffering timed out after 10000ms?
<authController.js under backend> controller file
const User = require('../models/User');
const bcrypt = require('bcryptjs');
const jwt = require('jsonwebtoken');
exports....
1
vote
0
answers
37
views
shopware 5 add custom filter in backend order list view
I'm trying to add a custom filter to the order module in Shopware 5, specifically for Pickware ERP suppliers.
So far, I created a custom backend controller that returns the list of suppliers from the ...
0
votes
1
answer
172
views
How to handle dynamic origin in FastAPI
I'm implementing a FastAPI backend where I want to allow CORS requests only from a predefined list of default origins and dynamically loaded origins stored in the database.
However, when the frontend ...
0
votes
0
answers
37
views
Which approach makes more sense for validating survey completeness?
I’d like to get input on two possible approaches for handling validation of a survey before generating a document based on it.
Users can fill in a survey gradually, over multiple days. We have an ...
-6
votes
2
answers
123
views
Goroutines does not return when error is raised in error channel
I'm writing a process monitor in Go that periodically collects information from /proc/ using multiple goroutines. Each goroutine sends errors to a buffered channel if it fails (for example, if the ...
1
vote
0
answers
105
views
How to determine a user’s subscription status in a Rust backend using clerk-rs
I am trying to access if a user is subscribed on the backend of my Website. Looking through the Clerk-rs documentation I cannot find a way to retrieve the if the user is subscribed.
I want to be able ...
0
votes
2
answers
73
views
Is it possible to replicate ASP.NET RouteAttribute functionality in a non-WebAPI project?
I'm currently working on a console application that essentially mimics an ASP.NET Web API.
Everything was going smoothly until I ran into an issue regarding route attributes.
What I'm trying to ...
0
votes
0
answers
89
views
Do I need to store the timezone in the database when defining a column with @CreateDateColumn() in NestJS with TypeORM?
I'm using the @CreateDateColumn() decorator like this:
@CreateDateColumn()
createdAt: Date;
In this case, the value is stored as timestamp without time zone, which means it's in UTC without any ...