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
1 answer

Webpage deployment

Hello I have a webpage that stores videos, payments and authentications. I have a frontend in react and backend in node. What do I need to deploy my page, and where can I find a good but cheap solution? Will also be adding more videos later on…
0
votes
1 answer

Passing Data between APIs and Database with React

I am creating a project but very new to React and async programming. I am using React to display users email via an API. I can get all the email data via ComponentDidMount calls to the API. It displays them correctly and I can get subject,body etc.…
0
votes
1 answer

React fullstack architecture: When adding a react front-end to a node/express application, what aspects does react's state generally handle?

I have a fully built node/express application that I want to add react to in order to practice that relationship in full stack applications. I've built apps in react before, and in node, but never together and I am confused about how react fits into…
MxOliver
  • 48
  • 1
  • 10
0
votes
1 answer

How many NodeJS projects to run on a full stack Website?

I am a beginner at the whole NodeJS Software Stack so please bear with me. I currently have a NodeJS project that contains a Info site (with ReactJS). I plan to extend the site to store data through mysql. Do I need a separate NodeJS project for all…
Angelo Charl
  • 347
  • 4
  • 15
0
votes
1 answer

Problem with axios + React and Redux fornodejs/express + passport + jwt api

I have created the api with route api/login, I have client in server folder so it can be the url without http (I have proxy for that). The problem is when I submit the request. I have 500 error in browser(from catch(error) ). Here is my action…
Michał
  • 101
  • 10
0
votes
1 answer

Why does JavaScript's map() work but my for loop fails with React?

I'm teaching myself React and I have come across something I am having trouble understanding. When I build my project with the code in getNavList() below I get the following error when clicking one of the buttons rendered in my component, "cannot…
0
votes
1 answer

Python Fullstack Application - python manage.py runserver - No such file or directory

I have followed this tutorial on Youtube. First, I think everything was fine etc. but when I want so run the Server with: python manage.py runserver it doesn't work. I got the following error: bash: /Applications/MAMP/Library/bin/python: No such…
0
votes
1 answer

Getting 'undefined' status code in response

I am sending response from the node server api side as below: 1)res.status(200).send({success: true, token: 'JWT ' + token}); and 2) res.status(401).send({success: false, msg: 'Authentication failed. Wrong password.'}); When try to get the response…
Vijesh
  • 795
  • 3
  • 9
  • 23
0
votes
2 answers

How can I query json files saved on server side - high level view?

This is more a theory question than anything else. I've been tasked at creating a website for a client that involves users looking up an item x. A json file that holds all the item data will be searched and the resulting data about that item is…
Kevin H
  • 11
  • 2
0
votes
0 answers

Redux with frequently updated database

Quick question regarding a react + redux front-end for a social media application that queries for new posts frequently, and therefore updates the back-end database frequently. The user on the front-end gets to approve or block the posts as they…
0
votes
1 answer

Fetching and Displaying Timeline Data

I need some advice here: I am working on an application that is supposed to display data in a timeline view with Weekly, Monthly and Yearly options. I have two options that I'm torn between; I could fetch all the data at once and let the user…
John Mutuma
  • 3,150
  • 2
  • 18
  • 31
0
votes
0 answers

Asynchronously send request from server to front-end

I'm building a chatbot through a web back-end that interacts with large chatting platform APIs, such as Slack. This is the current workflow: The user sends a message to my bot through Slack My webapp (Python Flask) receives an HTTP request from…
Konrad
  • 852
  • 11
  • 31
0
votes
1 answer

How to get values from same input type from multiple fields in react?

I have to get the values from same input type (eg: email type) this is in my render() method:
Coder
  • 540
  • 1
  • 11
  • 34
0
votes
1 answer

react-scripts-ts looks for dependencies in all folders and throws error on build

I build fullstack application using Node.js + Typescript and React+ Typescript. Folder structure: App -node_modules //server part's dependencies -build //includes compiled server code -src -server …
0
votes
1 answer

My webpack is not compiling when i am trying to import mongojs?

When i try to import mongojs to connect to my mongodb,the webpack fails to compile and the following error is thrown.
Arun Prasanth.G
  • 51
  • 1
  • 1
  • 5