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.

Questions pertaining to a component in the “back half” of an application, that is, not user-facing. Typically, this component is called from user interface or business layer components to perform processing actions, rather than interacting directly with the end-user.

This may include layers as far back as the data storage component such as a database server.

8432 questions
1
vote
1 answer

IOS Backend for User Data

I am brand new to ios development and am looking for some advice on the best way to structure my user data and access it throughout my app. Data is retrieved via HTTPS requests that query a database for the desired information. There are separate…
1
vote
0 answers

Google map api for textsearch is showing zero results

Google map api for textsearch is not showing any results even for the valid place search. It was working perfectly fine for many months but same code does not work now. I checked apikey, it is also correct and also have not exceeded the limit. . No…
1
vote
1 answer

How to Transfer Data Between Multiple Microservices?

As part of my project, I'd like to use microservices. The application is a store website where the admin can add products and the user can order and buy them. I envision implementing four services: admin service, user service, product service, and…
Hanie Asemi
  • 1,318
  • 2
  • 9
  • 23
1
vote
0 answers

How to update my flutter app's UI using data that is being posted to a backend?

So I am creating an application using Flutter, nodeJs and mongoDB. So what I want to do in it is that when I post json data from nodejs backend to mongoDB, after being posted it should show up on my flutter app page. How can I do that (I have tried…
Manny
  • 21
  • 5
1
vote
2 answers

Why is my else if function not working properly when I have checked to make sure the values make it true?

` long get_number(void); int get_digits(long creditnumber); int calcfirst(long creditnumber); bool checksum(long creditnumber, int digits); int main(void) { long creditnumber = get_number(); int digits = get_digits(creditnumber); int…
1
vote
0 answers

Best practice using PUT routes when updating the same table from different locations of the UI

I understand that this question is very much opinion based however it would really help me to get some insight on how others structure their route/controller/query for their PUT requests around the same table. My app has a client table. It has many…
insivika
  • 576
  • 2
  • 10
  • 21
1
vote
1 answer

Modify a specific string from a txt file in PHP

I am just doing a homework don't ask me why i don't use SQL for this. This is what my program does, it has a registration form that generates a .txt file with the username password and phone number. The pattern that generates the user info is…
Raitiko
  • 165
  • 11
1
vote
1 answer

How to handle unexpected data from the post request body in NestJS

In NestJS official tutorial of validation. We can handle wrong data type from client side post request. // dtos/CreateUserDto.ts import { IsEmail, IsNotEmpty } from 'class-validator'; export class CreateUserDto { @IsEmail() email: string; …
Champer Wu
  • 1,101
  • 3
  • 13
  • 32
1
vote
1 answer

How to run both svelte and go

I'm trying to make a website using svelte(front) and golang(backend). My problem is when I run those in different terminal to test my app('npm go dev' for svelte, 'go run .' for go), they run in different port. Go in port 8080 and Svelte in port…
부건혁
  • 91
  • 7
1
vote
1 answer

web page going blank after clicking submit button with post method

I wanted to create a save feature for my flashcard app. The solution I thought of first would be to save details about every card added, so on start the app could retrieve all of that data and format the flashcards the way you left them. I set up a…
Ford
  • 45
  • 6
1
vote
2 answers

Import a javascript function in js2py

I have a python file: import js2py from js2py import require js= ''' function myfuntion(){ var b = numar(); return b; } ''' a = js2py.eval_js(js) print(a()) This is just an example. The "js2py" must call a function from a…
1
vote
1 answer

Connecting frontend and backend codes in PYTHON only

So, I am completely new to app designing. I have created the frontend and the backend code for my project, but I have no idea on how to merge them both. My project is on emotion detection on a tkinter canvas. The frontend code will create the…
Hem S.
  • 11
  • 3
1
vote
1 answer

I checked this backend code using Postman. It sometimes works properly. But, sometimes, it does not work. What's the matter with this code?

I checked this backend code using Postman. It sometimes works properly. But, sometimes, it does not work. What's the matter with this code? I used the technology koa.js. I create dao file, api file, and router file to handle the…
user19777893
1
vote
0 answers

nestjs: how import csv datas into mysql database

i am searching for a efficient way in NESTjs to import my csv-datas into my mysql database tables. I cant find sample or tutorials. Can anyone help me here? Or did i read over the docs of nest belongs to that point?!
mastaars
  • 21
  • 2
1
vote
1 answer

Generics in java at method level

I am new to java. I am trying to debug a code and not able to understand one line. public interface CommandDispatcher { void registerHandler(Class type, CommandHandlerMethod handler); void send(BaseCommand…
rashmi
  • 204
  • 1
  • 5
1 2 3
99
100