Skip to main content

All Questions

Tagged with
0 votes
0 answers
21 views

TextArea of richtext editor to pass backend same

if we enter some words in text area with the help of rich text editor as bold , italic and alignment ways, how do i send that data as the same format to the payload so that i could display the reponse ...
swathika's user avatar
-1 votes
0 answers
28 views

Flask cannot be found js file although static path is given

I use a setup.py in my project: from setuptools import find_packages, setup with open("modules/requirements.txt", "r", encoding="utf-8") as file: requirements = file....
Clyde's user avatar
  • 1
0 votes
1 answer
65 views

404 not found while using Axios and useQuery tanstack

API response, here is my function where I get the information from mysql and the database is working fine, because when I use the Post function in Insomnia I am getting the response: export const ...
Tadashi Haneda's user avatar
0 votes
0 answers
321 views

How do I share a Zod validation schema between backend and frontend in a pnpm monorepo?

I am working on a project using a pnpm monorepo setup. My backend is built with Hono, Drizzle ORM, and Zod for validation. I am using the drizzle-zod package to generate Zod schemas from my database ...
dingidango's user avatar
0 votes
1 answer
47 views

Table stops rendering when moving the blade.php file

I got a blade.php table that renders from a index method of a controller with a @foreach method, I need to move this file in a subdirectory folder to work around some url directions on the controller, ...
Kuo's user avatar
  • 15
0 votes
1 answer
37 views

Refused Post Request to an API

I try to send a post request to my API but there is an error says Refused to connect to 'http://127.0.0.1:3000/api/v1/users/login' because it violates the following Content Security Policy directive: &...
mohamed khater's user avatar
0 votes
1 answer
32 views

Response of the POST request to Flask server does not return the desired value

I am creating a backend server for small project (that any security problem is not an issue) and stumbled across a problem. I had to send JWT token to the frontend, but apparently the token does not ...
Nascity's user avatar
  • 53
3 votes
2 answers
119 views

moviepy installation error in GitHub Actions workflow: subprocess-exited-with-error

I'm encountering an error while trying to install moviepy in my GitHub Actions workflow. The installation works fine on my local machine, but it sometimes fails in the CI environment. The error ...
dnrksd's user avatar
  • 63
-2 votes
1 answer
28 views

Fetch request to back-end displaying html instead of json

server.js const express = require('express'); const path = require('path'); const app = express(); app.use(express.json()); app.get('/', (req, res) => { res.sendFile(path.join(__dirname, '../...
Anan Ma's user avatar
0 votes
1 answer
72 views

Trouble implementing Role-Based Access Control (RBAC) using cookies in React

So I have been trying to Implement some way of Role Based Access Control to a react app making use of the cookies. But I seem to me missunderstanding its use. The idea was to have a context that ...
yzkael's user avatar
  • 99
-2 votes
1 answer
52 views

How Can I Delete Written Number, Python Code? [closed]

When i say clear in the transaction screen(to clean the values or names i typed for entry date, unit code, etc…) it doesnt clear "unit code, customer number and group code’s first number". I ...
princessixx's user avatar
2 votes
1 answer
70 views

Should I separate FE and BE in UML diagrams?

I am currently working on designing a web application and I'm wondering whether I should separate the frontend and backend in UML diagrams or if it's acceptable to combine them. Specifically, I would ...
JisuEun's user avatar
  • 37
0 votes
1 answer
116 views

401 unauthorized error in requesting to backend

I am requesting to my backend APIs. but I have a problem. when I request any post API, my response is this error. What is the problem and how can I solve it? I am using axios for requesting and it's ...
soheil's user avatar
  • 73
1 vote
0 answers
31 views

Cookies are coming undefined after deploying on vercel

I've middleware checkAuth which checks is user logged in or not based on the token in cookies, It works perfectly on local but when I deployed it on vercel cookies are not coming it prints undefined. ...
Yash's user avatar
  • 11
0 votes
1 answer
142 views

Next.js cannot save cookies in the browser sent from Express.js backend - In Production

I'm encountering an issue where cookies set by an Express.js backend are not being saved in the browser when accessed through a Next.js frontend. This behavior is consistent across all browsers tested ...
YourmixJNR's user avatar

15 30 50 per page
1
2 3 4 5
59