Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
0 answers
11 views

Go Package Equivalent to Django's dj-rest-auth and OAuth for Authentication and OAuth2 Integration [closed]

Is there a Go package that provides similar functionality to dj-rest-auth or Django's OAuth implementations, particularly for handling authentication, registration, and OAuth2 integration in RESTful ...
Syed Haider Ali Zaidi's user avatar
0 votes
1 answer
19 views

Should this HTTP contract class be considered a repository, service, or just an HTTP client?

I'm looking for some advice or best practices for a pattern we're discussing internally. We have a class (example below) that defines an HTTP contract to interact with an external REST API. The class ...
Arthur Fernandez Alves da Silv's user avatar
1 vote
0 answers
7 views

Need comprehensive documentation for MS Entra ID auth for a backend/frontend webapp

I was asked to implement authentication in my backend app using MS Entra ID The backend app fetches data from the MS Graph API with Azure AD OAuth tokens, processes it and stores it in a mongoDB. That ...
user15013406's user avatar
-1 votes
0 answers
19 views

How can I implement a shareable link feature for notes in a simple notepad web app? [closed]

I’m building a simple notepad web app called Bloco de Notas Online where users can create and save notes. I want to add a feature that allows users to generate a shareable link for their notes. The ...
Antonio's user avatar
0 votes
1 answer
36 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
  • 13
0 votes
0 answers
7 views

How to handle backend access rights refusal for front end?

I have an application that checks if user has access to a group before executing a task upon items in said group. For the response to the frontend in the scenario where the user does not have access ...
jschneider99's user avatar
0 votes
0 answers
8 views

Memberstack to Xano api communication

If I have a backend with endpoint named AddUserTokens and it is currently set to be public, but I want to change it in a way that only Memberstack can make request to this endpoint, furthermore this ...
Majkel's user avatar
  • 43
0 votes
0 answers
53 views

JavaScript Fetch API Error When Sending GET Request Using URL Parameter

I'm trying to send a GET request to an API to fetch courses based on a category specified in the URL. I’m using the fetch API in JavaScript to do this, but I’m encountering an error. The code I'm ...
Fazal Mohammad Qadirzay's user avatar
0 votes
0 answers
13 views

File can't be found after deploying Flask Backend Application to Render (ERROR: FileNotFoundError: [Errno 2] No such file or directory)

I am making an AI image detection application that needs to use a trained model that I have uploaded in the file directory. The application was working locally but after deployment Render says the ...
scooby.steve's user avatar
-3 votes
0 answers
16 views

Backend script in Nakama [closed]

I got a job in game company that uses Nakama as backend. My assignment is to write a script, that will take data from open street map, about buildings by ID, that will be send to this script. The only ...
IJustStartedLearningCode's user avatar
0 votes
0 answers
6 views

Is there any way that i can put my Onedrive folder in my project in VS code?

I want to create something like a shared folder accessible from multiple devices. The reason for this is that I'm working on a game, and I want to store the audio files in a location where the backend ...
Mohammed Al-Saleh's user avatar
1 vote
0 answers
23 views

Delete first image deletes the product

i have this issue in laravel 9.19 php 8.1 when i delete any image from the product it works, except deleting the first image that deletes the whole product. //products/edit.blade <div class="d-...
maher salamin's user avatar
-1 votes
0 answers
8 views

I'm trying to integrate login between two projects using OAuth 2.0

I'm trying to integrate the logins for the projects my company is currently using with OAuth. Is that possible? We are trying to integrate the login process in the backend of both projects. If ...
Lukas's user avatar
  • 1
1 vote
1 answer
31 views

Mongoose _id is not working correctly for custom value instead of default value

Hay! I am working with mongoose where I have collection named tag and here is it's schema const tagSchema = new Schema<ITag, ITagModel>( { _id: { type: String, unique: true, ...
Shakil Abdus Shohid's user avatar
0 votes
0 answers
20 views

Backend WebSocket server causes client page to refresh unexpectedly

I'm working on a radio web project that streams radio stations through a web interface. The backend, written in Python, uses WebSockets to receive messages from the client and returns the currently ...
Vanilla1002's user avatar
0 votes
1 answer
14 views

Integrating Strapi with existing backend and database

I’m working on a website that uses a Django backend with NextJS frontend. The database used is PostgreSQL. The website can be considered as an affiliate marketing platform. So a lot of features ...
weaver's user avatar
  • 13
-3 votes
0 answers
43 views

How to inline JavaScript when coding in nodejs 'views' [closed]

I've been using nodejs as my backend. In nodejs you use 'views' as the frontend instead of html files. Views are very similar to html files, but I was wondering if there is a way to code javascript ...
Nisitha Kaveen's user avatar
-3 votes
0 answers
20 views

what is the best secured way to send data from backend? [closed]

what is the best way to send secured data from backend? I'm trying to send user data to frontend using secure cookies. return res .cookie("accessToken", newAccessToken, { httpOnly: ...
giorgi shvangiradze's user avatar
0 votes
0 answers
10 views

connect server via ipv6 ? [nginx] [closed]

tried to edit the server_name block in nginx.conf with server { listen 9999; server_name <permanentipv6> <temporary1ipv6> <temporary2ipv6> ...
ACI99-0001's user avatar
-1 votes
0 answers
25 views

NodeJs server becoming unresponsive [closed]

I'm running a Node.js server using PM2 in cluster mode on a machine with 8 cores. Occasionally, the application becomes completely unresponsive—no logs, no responses, nothing. I've integrated ...
James Babu's user avatar
0 votes
0 answers
21 views

How to properly use templates as a variable in django?

In general, I wanted to use TemplateView from Django to provide responses to users. Since my website will have many frames with content blocks as separate sections, I thought it would be very ...
aero.exe's user avatar
0 votes
0 answers
32 views

Unable to add id in URL request through req params

I want to retrieve product by id from server in mongoose but req.params.id is not working. I replaced req.params.id with id number to see if there is any other problem but it worked fine. Here is the ...
Subhan Waseem's user avatar
0 votes
0 answers
24 views

Typescript @signalapp/libsignal-client

I’m trying to figure out how to implement the Signal protocol in TypeScript. I’m using @signalapp/libsignal-client, but I can’t find any documentation on how to implement it. I think my current ...
alisterion's user avatar
0 votes
0 answers
46 views

CORS Error with Delete Functionality on Live Server: Works Locally but Not on Live Laravel Website

I’m working on a Laravel project where users can delete reviews through their dashboard. The delete functionality works perfectly in localhost, but after deploying the application to my live server (...
Abdul Majid's user avatar
-2 votes
0 answers
22 views

How to build a backend for an email client with a session mechanism? [closed]

I want to build a react native email client that will be able to fetch users emails. I am trying to find a way to do a backend that will be able to fetch users emails using IMAP protocol and have ...
Chewbye's user avatar
  • 253
0 votes
1 answer
52 views

(Laravel 11) errno: 150 "Foreign key constraint is incorrectly formed [duplicate]

I need to do a relation between the tables citizen and nuclear_Family, this is intended so they can fulfill a form of their family information, that will be linked to a citizen folder that works with ...
Kuo's user avatar
  • 13
0 votes
0 answers
37 views

Unable to download image from local storage using react front end and ASP.NET MVC back end

I am using React as front end and an ASP.NET MVC controller for backend to store data and picture. I have managed to upload photo from the front end to local hard drive using ASP.NET MVC. To download ...
sujan_014's user avatar
  • 524
0 votes
0 answers
30 views

NestJS not running POST request

I am following a tutorial by Dave Gray and by 29:30 he creates a POST controller as @Post() // POST /users create(@Body() user: Record<string, any>) { return user; } When I run this on ...
Ahmad Hassan's user avatar
2 votes
2 answers
64 views

"Lock Pools" or other solutions for handling memory intensive operations in a .NET Framework backend?

My backend application takes byte arrays that represent image data and applies certain transformations to it, like changing the resolution and such, and then stores this modified data to disk. During ...
Allu's user avatar
  • 41
0 votes
0 answers
19 views

Clerk: using the same keys for a few accounts issue

We use Clerk for authentication in the project (a few people working with one account). We got such problem trying to log in: console: 🔒 Clerk: The SignIn or SignUp modals do not render when a user ...
Михаил Морозов's user avatar
0 votes
0 answers
39 views

Nest JS, send big volume of data to SQL Server

I have a problem with my NestJS function; I need to send 300 thousand records to my database, it is not a POST, it is a PATCH. I have the function to know what data to update, but when uploading the ...
Invited's user avatar
0 votes
0 answers
15 views

Django Tastypie API Slow Response Time with Annotate Count and Pagination

I'm working with a Django Tastypie API that processes a large QuerySet. I need to perform an annotate with a Count on a related table, which is also very large. Afterward, I return the response using ...
HodA's user avatar
  • 11
-1 votes
0 answers
31 views

Cannot Login And Register in ASP.NET with web API "Username '' is invalid, can only contain letters or digits."

I ensure if I already do other solution but still not work, I tried to add options in builder.Services.AddIdentity When i post this api https://localhost:7009/api/user/register with this json: { &...
Christian Antonius Anggaresta's user avatar
-1 votes
0 answers
27 views

403 Forbidden Error in Spring Boot WebClient Integration with External API

I have a Spring Boot API running on localhost:8001, which sends a request to another backend service on a different domain (localhost:8080). I tried to send an external request to the exact api below, ...
ERTY's user avatar
  • 37
0 votes
1 answer
36 views

Blazor Web App project EditForm not calling handler

This is the Contact component of my Blazor WebApp project in Dotnet 8. The MailSender is a service outside the component. The problem is that when I click the Send button, it does not hit the '...
Luca Prodan's user avatar
-2 votes
0 answers
38 views

Mapping and Returning data in objects (Spring Boot)

requests.js:1 POST https://api/v1.0/file/fetchBatchStatistics?page=1&size=10&sortBy=eInvoiceCode&sortOrder=asc 500 (Internal Server Error) n.XMLHttpRequest.send @ requests.js:1 ...
Irfan's user avatar
  • 9
0 votes
0 answers
39 views

Running Laravel Sail under Windows using Docker Desktop

I have been using Linux for a very long time. Now I had to go back to Windows and I have a problem with Docker, specifically Docker Desktop. It is necessary for me to run sail, to which I am strongly ...
KaneOgg88's user avatar
1 vote
1 answer
77 views

How to write adapter for CORS?

Im using axum and sea-orm for my backend. i got an error with CORS. I tried to use cors layer I dont have any idea how to fix it. I googled it, but all the other codes work well. i did minimal ...
MubleBuble's user avatar
0 votes
0 answers
16 views

React Native - ExcelJS library export getting stuck

I'm building a data recollection application using React Native, in which said data is exported to an Excel file. I'm running into an issue which is that whenever I attempt to export the data, the ...
Alex Tiribeja's user avatar
-1 votes
0 answers
15 views

deployment of a full stack project using react for frontend and backend(flask) on vercel

How do I deploy a full-stack project with React on the frontend and Flask on the backend when using Vercel or any other deployment platform? I've attempted to use Vercel, but it only deployed the ...
Mr Meeseeks's user avatar
0 votes
1 answer
42 views

Validation Error with Numeric String Expected in NestJS DTO

I’m working on a NestJS application and encountering a validation error when sending a request to the http://localhost:3000/users/authstatus endpoint. The error message is: { "message": &...
Tarek Ziad's user avatar
0 votes
0 answers
11 views

How can I make a route in Next Js that serves svg directly after importing them form lucide-react

I would like to have a route in NextJS 13 (app router) which can serve svg images after importing it form the lucide-react package. How can I do it ? I tried doing this // app/api/icon/[name]/route.js ...
DevEnma's user avatar
  • 121
1 vote
1 answer
15 views

res.cookie from express is not setting the cookie in the client

I'm facing a problem with my express route, where the cookie that is sent as a response is not set on the client, the strange thing is that the cookie is sent in the header, but it doesn't appear in ...
Iury Bernardes's user avatar
-1 votes
1 answer
19 views

MongooseError: T he connection string is not valid

I have issue via connecting with database to my backend in mongodb compass database I want to know what exactly the issue is there MongooseError: The `uri` parameter to `openUri()` must be a string, ...
Saloni Patil's user avatar
-2 votes
0 answers
21 views

Is it possible to download website with its backend tool script? [duplicate]

I found tools website. I want to make similar website with my own tools. But before, I want to check backend script. I didn't try anything yet. I am looking for an expert answer as I am new for ...
Katherine Holford's user avatar
0 votes
1 answer
34 views

Review table for two different profile types in Django and PostgreSQL DB

I have a question how I should design this relational database. I have a main profile, which has 2 sub-profiles, which are weak entities. These sub-profiles represent counterparts of a business ...
W4zab1's user avatar
  • 3
0 votes
1 answer
32 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
0 answers
20 views

How to filter entity based on non-assosiated entity in sequelize

I can't filter Kase based on non-assosiated KaseColorLocation inStock property. Kase entity belongs to many Color through KaseColor Color entity belongs to many Kase through KaseColor ...
Doston Yuldashev's user avatar
-2 votes
0 answers
33 views

I can't send the variable from AJAX(js) to Python Flask

I have been working on this project for over a month, and now I'm stuck on an issue where I can't correctly retrieve or send the variable 'barber_id' to the Flask app. The JavaScript code was mostly ...
Bahodir's user avatar
0 votes
1 answer
23 views

Token is Not Send

Here are my three files jwtToken.js jwtToken.js, middleware auth.js auth.js, and getUser get user. I want to get my user after registering the user but my code is showing the error of "Not token ...
AYUSH SINGH BHATI's user avatar

1
2 3 4 5
178