Questions tagged [backend]
For questions involving the data processing components of a system. These components are typically called to from the user interface or business layer components, rather than interacting directly with the end-user.
8,430
questions
0
votes
0
answers
4
views
How many abstractions in a containerized to backend and to comply with Zero Trust best practices?
I am building a web service that is a composition of a couple of containerized services. A few services are self-written in Go and therefore I have the freedom on how to make them communicate with ...
0
votes
1
answer
20
views
When i press register button on my html page , my PHP page does not load
<?php
$username = $_POST['username'];
$email = $_POST['email'];
$password = $_POST['password'];
var_dump($username, $email, $password);
<div class="form-box">
<div ...
0
votes
0
answers
11
views
I have 1 million accounts which can individually perform 100k request hour to a single Firestore database which can handle 20000 writes per hour [closed]
I have 1 million accounts which can perform individually perform 100 thousand request hour to a single Firestore database which can handle 20000 writes per hour, how do I do that?
I want to use a ...
-4
votes
0
answers
13
views
how to solve node js warning-(node:3384) MaxListenersExceededWarning: Possible EventEmitter memory leak detected [closed]
(node:3384) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connected listeners added to [NativeConnection]. Use emitter.setMaxListeners() to increase limit
(Use node --...
-4
votes
0
answers
25
views
Need Guidance on Implementing Custom Designs and Background Effects for Videos [closed]
I am currently developing a web application that allows users to upload videos on the frontend. The primary goal of my project is to enable users to add custom designs to their videos and apply ...
0
votes
0
answers
7
views
Can't integrate dist folder from React+Vite(Frontend) to Django Application(Backend)
I am building a SAAS application and I am using React + Vite as frontend and Django for Backend , I was testing authentication system by integrating build or dist folder after performing npm run build ...
0
votes
0
answers
22
views
React Flask file upload
I'm trying to figure out how to upload a file with react as a frontend and flask as a backend.
I already have a react dragndrop feature, got it from here: https://www.npmjs.com/package/react-drag-drop-...
0
votes
0
answers
21
views
experiencing an error while connecting to server
when i start my backend program, it shows following errors in the terminal
MongoServerError: bad auth : authentication failed at Connection.onMessage (C:\Users\HOME\Desktop\e 23\cinebaba\cinebaba-...
-1
votes
0
answers
12
views
nestjs API versioning issues
I have been developing an API in nestjs for a while, due to lack of knowledge I created it from an old version (8.0.0) and now when implementing Swagger I was forced to update my project to version 10....
1
vote
1
answer
25
views
FastAPI Endpoint List as parameter not working [duplicate]
I I want to create an endpoint that receives a list of strings, which will be called and used as assets in the endpoint function.
The endpoint http://localhost:8000/api/v1/equipments works correctly. ...
0
votes
0
answers
13
views
How to deal with release notes [closed]
I decided I want to add release notes to my website homepage, but I don't have a clue of how to implement the way I'm thinking.
I'm thinking of having a releaseNotes array, and all the releases inside ...
-3
votes
0
answers
16
views
Migration from ExpressJs to NestJs [duplicate]
We have a backend code written in ExpressJs. How can we migrate from ExpressJs to NestJs efficiently? Most answers were to rewrite the code in nestjs which is one of the solutions we would like other ...
0
votes
0
answers
8
views
What goes in the fileParts argument of the file constructor in javascript
I'm making a web application with flask, and I've stored an access token as a text file. I want to then read the content of the file from a javascript function. However, the function i saw on This ...
-1
votes
0
answers
25
views
How to Implement Google Login with Omniauth in a Front-end/Back-end Separated Rails 7 Project?
I'm working on a Rails project with a front-end and back-end separation architecture, and I'm trying to implement Google Login using Omniauth.
version:
ruby 3.1.2
Rails 7.0.4
Angular 14
I've seen many ...
0
votes
0
answers
9
views
How to use Translations for my project backend API?
I am using a springboot project. I am developing a API and frontEnd is developed by the customer. On frontEnd side there are multiple txt questions which the user needs to answer. These answers are ...
0
votes
1
answer
23
views
Warning: Attempt to read property "type" on null : symfony [closed]
I am new to symfony and i've got this error "Warning: Attempt to read property "type" on null" i don't know how to fix it i
've tried clearing the cache checking the typoes
none ...
0
votes
1
answer
17
views
why process.env.UV_THREADPOOL_SIZE doesn't work?
const crypto = require("crypto");
const start = Date.now();
process.env.UV_THREADPOOL_SIZE = 5;
for (let index = 0; index < 5; index++) {
crypto.pbkdf2("password", "salt&...
0
votes
2
answers
29
views
how do I add the functionality to strike through the content in my To-Do-List?
I am creating a To-Do-List, using express and ejs. I want to add functionality in my To-Do-List that when I check the checkbox, I want that particular content striked-through.
Firstly, I tried ...
0
votes
0
answers
14
views
Adding Password Protection to PDFs Generated with Puppeteer
I'm using NestJS with Puppeteer to generate PDFs in my Node.js application. However, I need to add password protection to the generated PDFs. Here's a version of my code:
async generatePdf(body: ...
-1
votes
0
answers
13
views
Is it a good practice to generate a frontend form based on backend information? [closed]
I am working on a web application (backend, frontend, DB) with forms on the frontend part.
It is the first time I see an application where not only the form information, but also the form structure ...
0
votes
1
answer
35
views
Pydantic cannot serialize data FastAPI
I tried a bunch of methods to fix this error but I still don’t understand what the problem is.
router:
@router.get('', response_model=List[SProject])
async def get_all_projects():
return ...
0
votes
1
answer
23
views
why is my page redirect code using express.js not working?
I am kinda new to backend. I am making a simple products page. I am trying to make a redirect command using res.redirect after the submit button is clicked. However after clicking on it, the page ...
-1
votes
0
answers
12
views
Getting problem while building job in jenkins
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/samplewebapp
The recommended git tool is: NONE
using credential 86488dda-ca5a-4d5a-bf9c-b8ce9df55ca5
git rev-parse --resolve-git-dir ...
2
votes
0
answers
25
views
Multi Channel Outbound Campaign System Design
I'm looking to design a multi channel outbound campaign system, that a user can customize.
A campaign can consist of N channels
The user can upload leads into a campaign and define the flow of ...
0
votes
1
answer
20
views
Django Virtual Environment Setup
I just started working on a Django project. In the beginning, the vscode terminal was working fine and executing the virtual environment created by pipenv for the project, but when I opened the ...
0
votes
0
answers
11
views
Low level implementation of web APIs
I am learning the backend and I encountered the term API. But I was unable to understand its true nature in terms of programming like whats structures it really is made up of at its low level.
I ...
-2
votes
0
answers
21
views
Download file from express server in production/after deployment [closed]
app.post('/docxtopdf', upload.single('file'), (req, res) => {
// Assuming you're using a form to upload the DOCX file.
const docxFilePath = req.file.path;
const outputPdfFilePath = path....
1
vote
0
answers
10
views
Netlify : This request has been blocked; the content must be served over HTTPS
I have an ESP32 server (BACKEND with http), then I try to fetch my endpoints with fetch, everything works. now when I start hosting my website on netlify, the operation on endpoints does not want to ...
-1
votes
0
answers
10
views
Computer Networking for backend developer [closed]
I'm currently studying computer networking, and I'm wondering how much knowledge is necessary for a backend developer. Do we need to become experts in all aspects of computer networking, or are there ...
-2
votes
0
answers
14
views
I am working on a thread clone application in which the communities section from clerks organization renders me this error and unable to figure out
(https://i.stack.imgur.com/Cloq1.png)
I was creating Thread clone from Youtube buy watching a tutorial and in the communities part on the Clerk organization side It is showing me that i am ...
0
votes
0
answers
17
views
How to track button click in salesforce using javascript
I am new to salesforce and javascript.
I have a button on a page and want to record the button if it gets clicked on the page to the customer profile as a boolean.
I have a button with an id="...
1
vote
0
answers
31
views
NextJS Application crash from RAM overflow
Good time of day. Faced with the task of writing an application in the likeness of the Dropmefiles service, for an internal corporate network. I chose NextJS to implement client and server ...
0
votes
1
answer
18
views
Implementation of MongoDB Changestream
I am facing some issues while implementing changestream of mongodb in nestJS.
Here is the code
export class UsersService {
constructor(
@InjectModel('User')
private userModel: Model<User&...
-1
votes
0
answers
15
views
Best framework / language to create a backend service with user auth, service and GraphQL [closed]
I'm looking for advice on which backend language & framework to pick to implement user auth and GraphQL w/ custom business logic. I've built it in the past using Node.JS and manually setting up ...
-1
votes
0
answers
25
views
creating new database not working on Flask app [duplicate]
I am working with Flask (for Python) and SQL Alchemy. I am trying to create a database that stores user inputs for a login/register page. I created a class called Users on flask, and downloaded all ...
-1
votes
0
answers
33
views
Launching Python code on Back end from Front end with PHP using a certificate
I have an EC2 front end running on Apache with PHP8.1 installed. On this EC2, I have a PHP code that is supposed to trigger on demand a Python code on an another EC2 (back-end).
When I connect (via ...
-1
votes
1
answer
14
views
How can I count a value of table records, using session variable?
I have an SQL table with a column named 'status.' This column contains only two values: 'pending' or 'solved'.
status
pending
pending
solved
solved
pending
I want to count 'pending' entries ...
0
votes
0
answers
8
views
Problem using google provider for login in backend using Next + Nest js projec
i am using backend with Nest.js and Frontend with Next.js. the Next js supposed to be frontend only with a few backend capability such as the Next-Auth.
so in the front side every thing works great, i ...
0
votes
1
answer
36
views
preg_match function is returning only false value
I am trying to match user entered words with the patterns stored in the $patterns array, but preg_match function is returning only false value.
<?php
$patterns = array(
"p1"=&...
-1
votes
1
answer
22
views
Backend Server Hosting [closed]
I have been working on creating a React-Native iOS application with a node.js backend and MongoDB database. I have deployed the frontend to TestFlight for beta testing, however, I was facing some ...
0
votes
0
answers
32
views
CORS Issue: 'Access-Control-Allow-Origin' Header Error
I'm working on a web application with a frontend running on port 3000 and a backend on port 4000. My application includes a login form, and when I try to log in, I encounter a CORS (Cross-Origin ...
-1
votes
0
answers
11
views
Converting to and from text to speech, on device or server?
I’m developing an app that will use text to speech and speech to text to allow the user to talk to the app and get responses in real time.
The frontend is in swift/iOS and the backend a node.js server....
0
votes
0
answers
34
views
Broadcasting and websockets on Rust Rocket [closed]
I have a small website with back-end written in Rust Rocket. I want to connect websockets to one of the modules of this site, to quickly exchange information. There is a rocket-ws library, but it ...
-1
votes
0
answers
15
views
Choosing data transferrig techology for a web-based chess game [closed]
So I'm creating an online chess playing website, and I was wondering which data transferring technique I should use with it. I currently have a react frontend with functional local multiplayer and ...
-2
votes
0
answers
26
views
I am unable to connect a js file to app.js in react
I am using react to make a dashboard and was having issue in connecting these codes.
the code for app.js is-
import logo from './ logo.svg';
import './App.css';
import nav from './nav';
function App() ...
-2
votes
0
answers
31
views
Is Python a viable backend language paired with Django when wanting to make a MERN stack project? [closed]
I'm thinking of making a project that will help me navigate through networking and cloud hosting so that other users can use it but I'm afraid that Python+Django isn't fast or as scalable as languages ...
-1
votes
1
answer
26
views
How to exclude leading 0s of a string in a javscript function
I have a simple function which checks a zip code from a users profile and it returns the number as a string.
function checkZip(zipCodeCheck) {
var CustomObjectMgr = require('dw/object/...
0
votes
0
answers
38
views
How can I access postgresql without knowing any internal database information?
I was given an application that can be deployed by using docker-compose to work on. docker-compose eventually runs a number of containers, one which houses a postgresql database, which is currently ...
0
votes
0
answers
33
views
Stack Overflow Error when Running ASP.NET Core 6 Backend as .exe Outside IDE
I have encountered a perplexing issue with my ASP.NET Core 6 backend application. When I run it within the Visual Studio IDE, everything works perfectly. However, if I create a build and attempt to ...
0
votes
0
answers
18
views
Prompts Error upon retrieval of key-value from kv-v2 secrets in Quarkus (Gradle)
application.properties for the gradle project I am using:
%dev.quarkus.vault.url=http://127.0.0.1:8200
%dev.quarkus.vault.authentication.client-token=hvs.6AR6TPhCBYMUkZX0EfqBMDEL
%dev.quarkus.vault....