Most voted "back-end" questions
In software projects, back-end is the part of the software system that interacts directly with the server. If the question is not about "back-end", do not use this tag, even if you are using "back-end" in your project.
Learn more…106 questions
Sort by count of
-
0
votes1
answer300
viewsHow to transform the feedback (Finditerable) from a query in the database (mongoDB) to a list of objects of type DTO.
Bank structure: >db.produtos.find().pretty(); { "_id" : ObjectId("58879057e53276e2f7bf43be"), "descricao" : "Bisnaguinha", "preco" : 4.8 } { "_id" : ObjectId("58879067e53276e2f7bf43bf"),…
-
0
votes1
answer2168
viewsWhat is a Rest API for front and backend communication?
I couldn’t understand what a Rest API is for front and backend communication
-
0
votes1
answer9363
viewsRun function that returns multiple values and based on these make the main SELECT - SQL Server
I have the following function in SQL Server that returns the name of each column of my table: CREATE FUNCTION dbo.FiltraNomeColunas(@FiltroColuna VARCHAR(200)) RETURNS VARCHAR AS BEGIN DECLARE…
-
0
votes1
answer75
viewsWhat would the @DELETE methods of a Restfull java api look like?
I’m using the FullEntityRepository of deltaspike, the Response has to be a status 204 if successful, and status 400 if not. Any tips? Service layer: @Transactional public void deletar(Integer id){…
-
0
votes1
answer2696
viewsBackend with mysql database and frontend in javascript(React-Native)
I am developing an application in javascript(for android)e I would like to use mysql as database for this application, however I could not use mysql in the same code so I did some searches that…
-
0
votes1
answer292
viewsHow do I install a library (Phpexcel) in a codeigniter application using NPM?
I am developing an application that needs to export data from an array that received the result of a query in Excel format, in a dynamic way, and I wanted to know how to import the library, I…
-
0
votes1
answer318
viewsonclick "confirm" does not work Cancel button
I have an onclick confirm in my code that, if ok, it sends a variable to a specific page. If Cancel... it should cancel the operation. But even if you click on Cello, it is sending the variable to…
-
0
votes1
answer533
viewsLaravel - can you just backend first?
I am learning Arabic and I can already do a few things (work with routes, Migrations, eloquent, controllers, etc). However, I keep bumping my head with the front, because I don’t know the best way…
-
0
votes4
answers5283
viewsSort a SELECT in Mysql by a letter
How can I make a SELECT query in Mysql that sorts the results and initially displays those that start with a specific letter? Ex with the letter P: Paul Patricia (1st ones starting with the letter)…
-
0
votes0
answers522
viewsI can Use Wordpress as Back-End
Eae guys, I have a frequent question about Wordpress and Web Design. I make websites using HTML, CSS and Javascript/Bootstrap 4 , SASS and etc. However, I don’t know the back-end , I could use…
-
0
votes2
answers2793
viewsBack-end and fron-end communication
I am learning Reactjs, I made on the front end a simple screen of registration and I made the back end generating Ips with Nodejs, following this tutorial:…
-
0
votes2
answers215
viewsgetParameter returning the same value
I have a table where there’s a column ID - NAME - ACTION 1 -- USU1 -- VER 2 -- USU2 -- VER 3 -- USU3 -- VER in JSP I am storing the id inside a Hidden input. <input type="hidden"…
-
0
votes2
answers37
viewsProblems when performing INSERT (PDO)
Good afternoon! I’m encountering problems to perform the following insert: function cadastro($usuario,$senha,$status){ $pdo = con(); $usuario = "Matheus"; $senha = "123"; $status = 3; $inf = […
-
0
votes1
answer68
viewsHow to restrict access to the Java API using Spring Security?
Hello. I have an API in my back-end that provides the data for my web application (web ad query application). The application has no login and password, so few registered users. It is an application…
-
0
votes2
answers84
viewsHow to work the return of a select max query?
I will be brief: When trying to work the values of a query that uses MAX, I get the error: Use of Undefined Constant protocol - assumed 'field name'. Table: Select: $atestados = $conect -> query(…
-
0
votes1
answer1060
viewsERROR CODE 1215 - You cannot add foreign key
Table 1: Table 2: Commando: ALTER TABLE extras ADD FOREIGN KEY (login) REFERENCES usuario(login); Answer: Error Code: 1215. Cannot add foreign key constraint Cannot find an index in the referenced…
-
0
votes1
answer804
viewsView nodejs data in front-end using express without using front-end framework
I wonder if there is any way to pass data manipulated in the back-end in nodejs to an html file without using front-end framemework. In my researches I found examples using jquery.
-
0
votes1
answer656
viewsp:graphicImage does not display image
Guys I’m having trouble displaying an image within my project in a Data Table. Simply the image is blank. The system makes a query in the mysql database of the image directory to know which image…
-
0
votes1
answer850
viewsReceive and send value with Nodejs
How to receive inputs with nodejs and send a value to a given page element? Example: const fs = require('fs'); const http = require("http"); http.createServer((req, res)=>{…
-
0
votes1
answer2915
viewsdirect page with onclick inside a form
Basically what I need is to put a 'back' button inside my form. It has to be inside for aesthetic reasons, the back button would be inline with the send button. I made a short code: <form…
-
0
votes1
answer26
viewsDatabase with built-in Back-End
Is there any kind of database that can process and store the data as if it were 2 in 1? Backend and Databank at the same time.
-
0
votes0
answers18
views -
0
votes0
answers200
viewsTransactions with PHP
Guys, I’m having a problem with PHP Transactions. The transaction only stores the second part of the code, the first table is showing that it is empty, taking into account that the algorithm runs…
-
0
votes1
answer748
viewsSpring Authenticationmanager that could not be found
I’m trying to set up the Oauth2 in my study application only it is returning me an error that I am not able to solve required a bean of type…
-
0
votes0
answers20
viewsWhat is the role of get before a function?
I am a beginner in the Back-end, and I am in doubt in a code that was listed in the class, I would like to know what the get before function id() const sequence = { _id: 1, get id(){return…
-
0
votes1
answer88
viewsMocha + Chai do not access routes that require authentication
Talk, y'all, good afternoon. So I’m running some tests on my Node.js API using Mocha and chai, but I have a middleware that checks my user’s token so that it can access some HTTP requirements. The…
-
0
votes1
answer57
viewsSend input content to database
I’m having a problem trying to get the values of these inputs to be sent to a database, my knowledge of php is very basic, I tried searching in various forums to see if I found something but I was…
-
0
votes0
answers78
viewsHow to access my backend API
I need to access my Node backend API to send emails with information from a contact form. I hosted my app on King Host and it appears this way the point is, since I’m a bit new to Node, I don’t know…
-
0
votes0
answers18
viewsBackend- will I have trouble renaming real-time accessed folder via php?
Users access pages within a folder. My site will have a function for moderators to rename the folder name if they want. What would happen if the folder was being accessed and some moderator changed…
-
0
votes1
answer88
viewsProblem in JSON request - API - json_decode
Greetings, I’m trying to request a JSON so I can attach each value in a variable, conduit, I’m getting the errors: Notice: Trying to get Property 'product' of non-object in E: Rafael Desktop T.I…
-
0
votes0
answers87
viewsReturn all records from another class in JPA Spring
How do I return a complete list of another class within a class? I need Patient.java to return (in the findALL that returns me in JSON) a list of all records in the Statuspaciente.java class,…
-
0
votes1
answer106
viewsFill option with Flask data - Front x Backend
I have little knowledge in frontend and I’m needing to do the following: In my Backend I have a function which I run in python and which returns a list according to print. app = Flask(__name__)…
-
0
votes0
answers30
viewsDoubt about Javaee with Wildfly 18
I would like to know what this log is about. [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'ContaService' in deployment unit 'deployment…
-
0
votes0
answers31
viewsPassing a Function with parameters in HTML
Aoba, what is it? I’m trying to make a delete in my backend be called in HTML when a person clicks on a certain button. Then I’m passing a src script, to the file that has this Function. And in…
-
0
votes1
answer1903
viewsCannot destructure Property `name` of 'Undefined' or 'null'
for some reason my req.body is returning Undefined, even with the correct middleware. Controller import { Request, Response } from 'express'; import db from '../database/connection'; class…
-
0
votes0
answers37
viewsBackend not receiving body of the request via AXIOS or Fetch
I’m trying to make a POST request via fetch and via Xios, but something is happening that the request arrives without the body. I used Postman to see if it could be some problem in the backend,…
-
0
votes0
answers43
viewsload infinity nodejs
Hello, I am doing a small application in Ode and I am facing the following problem, my routes are not loading in the browser. I’m new to nodejs, so it might be something I still don’t understand,…
javascript node.js web-application express back-endasked 3 years, 6 months ago Cláudio Vitor Dantas 11 -
0
votes0
answers18
viewsUse $in and $gte together - Mongodb
I am developing an order system(type Ifood - from deepweb haha) I have 2 models, one of requests(fields: user information and a subdocument with the products) and another of the products. When the…
-
0
votes0
answers13
viewsSempra gives error when trying to upload a Nodejs application in Heroku
When executing the command: git push heroku master LOG: -----> Build failed We're sorry this build is failing! You can troubleshoot common issues here:…
-
-1
votes3
answers420
viewsIs it possible to create an application entirely with Javascript?
I am new in the area of development (by the way, I’m not in the area yet). I would like to know if it is possible to integrate back and front-end entirely by Javascript pure. Because I believe that…
-
-1
votes2
answers309
viewsIntegration between Console Application, Webservice and Frontend Web C#
I am developing my TCC and need guidance on how best to do some parts of the system. Description: It is a system for optimizing the use of laboratories. Such a system should have web frontend on the…
-
-1
votes1
answer609
viewsERROR 1045 (28000) MYSQL
I’m starting with the back-end and I’m having a hard time installing mysql, after installing and doing all procedures while trying to run the mysql the following error appears (it is worth…
-
-1
votes2
answers87
viewsHow to use rowCount to limit the number of records in a postgresSQL database using Node js?
I’m using the script to do this, but I get the error Internal server error. Anyone knows what I’m doing wrong? var sqlQtd = db.query(`SELECT COUNT (*) FROM segunda`, function(err, result){ return…
-
-1
votes1
answer56
viewsHow to fix 1892 Spring startup error?
When I start my project in Spring Boot it appears to me this error: More information about the error: 2021-02-10 19:41:35.984 INFO 1892 --- [ restartedMain] com.produtos.apirest.ApirestApplication :…
-
-1
votes2
answers33
viewsProblems making the POST in Django
I am in a part of the project, which is the page of records I created the View method but it’s not rolling yet From what I looked the button is ok. The last image is from my admin, where the new…
-
-1
votes1
answer400
viewsLaravel: Take the value of an array without foreach
I have the following appointment: $TenantId = DB::select('select tenant_id from users where id = :id', ['id' => '7']); dd($TenantId); The result of $Tenantid is: array:1 [▼ 0 => {#357 ▼…
-
-1
votes2
answers89
viewshow to use the cursor in the mouse
when I will make the requisition to take the amounts of debts and credit of this error: { "errors": [ { "name": "MongoError", "message": "The 'cursor' option is required, except for aggregate with…
-
-1
votes1
answer82
viewsHow to do a duplicate email check in the Put (update) method when some other user already has the same email registered?
In the back-end of the application in Ode, I want to do an e-mail check when some other user already has the same email registered. Already works well when using with the POST method, however, when…
-
-1
votes1
answer67
viewsHow to create encrypted requirements in the production environment?
I was analyzing a frontend application written in symfony (PHP), and when opening its requestes I came across the contents of this image: I found it interesting because the request name is encrypted…
-
-1
votes1
answer20
viewsLoop Redirect Error in Rails application
I am working on an application in Rails and doing tests via Postman, the application usually works normally after having logged in some user, I can test the endpoints correctly. But when I stay with…