Questions tagged [react-fullstack]

React (sometimes styled React.js or ReactJS) is an open-source JavaScript library for data rendered as HTML.

375 questions
0
votes
2 answers

React framework. Object destructuring is not working

I have a homepage where 3 cards are shown. When a specific card is clicked then the image will show. Now I can change the route but I am not able to show image and heading. Because all it is saying is destructuring undefined. The console log is…
0
votes
3 answers

Javascript variables in css are not working

In this code i am passing both imageurl and size which are javascript variables but i am using in css. css is not considering both. How to resolve this issue ?? const MenuItem = ({title, imageUrl, size}) => { return(
0
votes
0 answers

Preserving order in a graphql query using filter

I have a list of MongoDB _ids that correspond to their appropriate documents. Is there a way to write a graphQL query that will return a corresponding list of documents in the same order as their mongoDB _ids? I know you can do filter{ _ids:…
0
votes
0 answers

How to get user input in a Python Flask + React Native app?

I am a beginner to Python's Flask. I have a react native app. Amidst executing the main function, I want to get a user input. I also want to update the value of a status state hook dynamically amidst the function execution. Here is what I have…
Vishal DS
  • 175
  • 5
  • 16
0
votes
2 answers

Using JOIN and COUNT to find totals SQL

I am super new to SQL and have been working on this query and can not seem to get it to work. I need to sum the categories (how many clients are in each country and how many clients each employee has). This is what I tried to do to get the total…
Amelia W
  • 105
  • 1
  • 9
0
votes
1 answer

Mixed Content: The page at 'https://***********.web.app/' was loaded over HTTPS, but requested an insecure resource 'http://ec2-/-/-/-/-/-'

I have hosted one of my react app on Google Firebase which is by default HTTPS and one of my react app is hosted on AWS amplify which is also by default HTTTPS and the backend is hosted on aws-ec2 which is HTTP. Is there any way that without…
0
votes
0 answers

Can Flutter replace React in the PERN stack?

I want to make a full-stack application. Is the PEFN stack viable? Also, if I follow along with a PERN tutorial, will I be able to figure out how to hook up the Flutter App with the Postgres, Express, Node in the same way as react?
Mauvia Modi
  • 77
  • 2
  • 8
0
votes
1 answer

How can I handle search queries in react js?

I have my node js server up and running and I handle query requests like this : controller.js const getUsers = async (req, res, next) => { const age = req.query.age || 1; const lessage = req.query.minAge || 1000000000; const search =…
Mehdi Faraji
  • 2,574
  • 8
  • 28
  • 76
0
votes
2 answers

How to setup Express JS working with React JS?

I'm new to React JS, but I want to connect my backend with React JS. I want to get the input field data and connect it with Backend. I previously used EJS for FE. I want to do same like on React. Is it possible?
0
votes
0 answers

Multiple file uploading In Reacjs

I want to upload the multiple images in react but when i pass the object with formdata.append it give the result of images: ["[object File],[object File],[object File]"] instead of images Array here is my code for (let key of Object.keys(body))…
0
votes
1 answer

convert mySQL BLOB to HTML file in NodeJS/Reactjs

I am making a website, and i need to display the description of each project. So i ve started with a simple TEXT() on DB field but the output is a full block text... Then, I ve replace the TEXT() by a BLOB() on my DB with a description.txt, but as…
rachOS
  • 93
  • 1
  • 7
0
votes
0 answers

Deploying an apollo & react full stack app

My current project uses apollo-server on the backend & react on the frontend: https://github.com/harryd05/earthquake-hunter. I can't find any tutorials on how to deploy this type of project - does anyone have any advice on how to do this? (If…
HarryD02
  • 37
  • 1
0
votes
1 answer

How to create and send html file to client in nodeJS from backend(express)?

Im trying to create a file from a string that contains html content for example: const html = "

example

"; Now how would you create a read stream and pipe it to the response without creating the…
0
votes
1 answer

Deploying a react app that uses a JSON-server as backend,

I recently started using Heroku for my deployments. So far I only used it to deploy front-end react apps which were fairly straight forward. But now I am trying to deploy a full-stack react app that uses a JSON-server as the backend. During the…
0
votes
0 answers

File not opening after download: ReactJs + Spring Boot

I am developing a web application and one of my use cases is for users to have the ability to upload and download files from the server. I'm using ReactJs and Spring Boot. Front-End code: downloadFileClicked(id, fileName,…