Category "backend"

MySQL - Fetch millions of data in chunk with constantly changing data

Below is the schema of my table A. CREATE TABLE A ( NAME VARCHAR(255), CREATED_AT DATETIME DEFAULT CURRENT_TIMESTAMP, UPDATED_AT DATETIME DEFA

i cant directly going to login page with codeigniter 4, and using myth/auth

i tried to using codeigniter 4 and try using myth/auth, and i get a problem, if put restricted in my filters its not loading the login page public $aliases

How to extract jwt token payload when token is expired in python jwt

I am unable to extract JWT token payload after the jwt token expires in python jwt package. I am using flask api for backend development and the implementation

MongoDB aggregate and then flatten

FULL DISCLOSURE: I'm a MongoDB noob I'm dealing with a legacy DB structure. A part of my MongoDB looks like this currently: Events (_id, name (string), ...) Ord

How to disconnect a Stomp client Session from Spring

I know how to disconnect Sessions from Client Side, but I couldn't find a way to disconnect my session from my Spring Boot Backend. I've already seen the follow

I want to find the last object which i'm posting in my database without any condition but i can't find any method for that

Data.findOne({}).then((respp)=>console.log(respp, "find one")) Like I have this method this is returning First object and if I apply a condition then i can

getting error when sending files to backend react node js

I am getting error of undefined when i send a file from react to backend, i am unable to understand the error. i am sending a image which will be uploaded in cl

Error: Cannot find module. Please verify that the package.json has a valid "main" entry

As I'm creating MERN stack login-system with bcyrpt implemented, I have done 'npm install' and 'npm install bcrpyt --save' in my root folder for server to work.

Stripe API "No valid payment method types for this Payment Intent."

As you can imagine I´m currently setting up the payment API with using Stripe. Problem is, I´ve never done such thing before and am following the do

FastAPI server returns "422 unprocessable entity" - value_error.missing

from http.client import responses from random import randrange from tkinter.tix import STATUS from typing import Optional from urllib import response from fasta

post api pblm in backend

const newItem = { name, price, img, detail, email } fetch("http://localhost:5000/add", { method: "POST", header: { "content

How to have multiple Auth models in django

I have an application where I've two models both models have same fields client buyer I'm using separate models because client can also signs up as a buyer usin

What is the proper format for HTTP POST Dynamic Zone data with Strapi API?

I have a Strapi user collection that looks like this. I am trying to use the API to create a new user with the "AdditionalInfo" dynamic zone filled with "Stud

While testing API containing pagination in postman facing skip value error

I am using pagination middleware in my node js project but while testing api in postman it's throwing error skip value Followed the paginate docs but still no u

Custom keras loss function binary cross entropy giving improper results

Did anyoe have a convincing solution to make custom_binarycrossentropy work? I tried all possible methods (even making the whole training data size same as the

Why does my th:each not work in my div? Thymleaf

I'm trying to th:text in my div but it doesnt seem to work I tried doing it with a table and i get the data i need but when i put it in a div it doesnt work

Mongoose - find object and delete objeto inside array

I have this document : [ { "_id": "626c5fd2aa0fc0e4eef45c94", "productos": [ { "_id": "626d50b621180e291a330333"

Use Schema inside another Schema not working. Error: CastError: Cast to [ObjectId] failed for value

What I'm trying to achieve: Use one Schema (Ingredient Schema) inside another one (Recipe Schema). My goal is that in the Recipe Schema, my ingredients key to b

Error: listen EACCES: permission denied 8085;

I tried running the backend server but when I run the command node backend/server.js in my cmd, I'm getting this error: D:\theshoppingcart>node backend/serve

ERROR: Failed to create project. See firebase-debug.log for more info

i Found 0 Firebase projects. ✔ Enter a project id for your new Firebase project (e.g. my-cool-project) · onoja i New Firebase project onoja create