All Questions
874
questions
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 ...
-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....
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 ...
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 ...
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, ...
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: &...
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 ...
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 ...
-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, '../...
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 ...
-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 ...
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 ...
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 ...
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.
...
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 ...