React (sometimes styled React.js or ReactJS) is an open-source JavaScript library for data rendered as HTML.
Questions tagged [react-fullstack]
375 questions
                    
                    5
                    
            votes
                
                4 answers
            
        JWT (JSON Web token) front end webpack error
import React, { useEffect, useState } from 'react'
import jwt from 'jsonwebtoken'
import { useNavigate } from 'react-router-dom'
import Navbar from './Shared/navbar'
export default function Home() {
const navigate = useNavigate();
const [user,…
         
    
    
        andrew kim
        
- 137
- 1
- 6
                    5
                    
            votes
                
                7 answers
            
        How to push both the client side and server side project folders together as a one project (api + front end) on github?
I have completed my project.
My stack :
Front-End UI => Reactjs
Back-End => Nodejs/Expressjs + MongoDB
And below is my project structure containing both the folders:
project_Name > client + server
project_Name is the main folder
client and server…
         
    
    
        Biku7
        
- 450
- 6
- 16
                    4
                    
            votes
                
                2 answers
            
        why I can't delete .next folder in nextjs project
I run my nextjs project by
npm run dev
NOT
npm run build
but it automatically create the .next folder. and after I tried to delete that folder but it automatically generated again.
why??
I don't expect to generate the .next folder by this…
         
    
    
        Mustafa Zahedi
        
- 103
- 1
- 1
- 9
                    4
                    
            votes
                
                3 answers
            
        How do I serve a React-built front-end on a FastAPI backend?
I've tried to mount the frontend to / with app.mount, but this invalidates all of my /api routes. I've also tried the following code to mount the folders in /static to their respective routes and serving the index.html file on /:
@app.get("/")
def…
         
    
    
        Jofred Cayabyab
        
- 43
- 2
- 6
                    4
                    
            votes
                
                1 answer
            
        why Connection test failed?
When i select custom setting and select sql and enter all fields
Connection test failed: Cannot find module\AppData\Local\Temp\strapi9a2b8146f759\node_modules\strapi-connector-bookshelf\lib\utils\connectivity.js'
         
    
    
        Malik Musa
        
- 71
- 6
                    4
                    
            votes
                
                1 answer
            
        how to make http-proxy-middleware connect to localhost server from create-react-app
How do connect to multiple APIs with React App?
Create-react-app with Express backend, using http-proxy-middleware.
Demo bug : https://github.com/svgpubs/nodeproxy.git
I am using http-proxy-middleware to try to connect a demo React App to two…
         
    
    
        NicoWheat
        
- 2,157
- 2
- 26
- 34
                    4
                    
            votes
                
                0 answers
            
        Creating Cognito user and adding user to database
I'm fairly new to full-stack development and this question is more of a best practice question/am I doing it right.  
I am building a website that uses aws Cognito for authentication, but I also wanted to save a variety of stats in RDS for each…
         
    
    
        P. Vaden
        
- 98
- 8
                    4
                    
            votes
                
                2 answers
            
        Hooking up React Native to back-end (with Express)
I made a UI with React Native, as well as a Cheerio.js scraper (with Cron Job to activate it once every day) I'll use to grab certain data from the web, so it can render in the UI. However, I have no idea how to link the two of them.
I am pretty…
         
    
    
        Ryo-code
        
- 1,460
- 2
- 10
- 12
                    3
                    
            votes
                
                1 answer
            
        Vite creating its own node_modules in workspace instead of using monorepo
I have a monorepo for a fullstack webapp with the following directory structure
.
├── client
│   ├── index.html
│   ├── package.json
│   ├── src
│   └── vite.config.ts
├── node_modules
├── package-lock.json
├── package.json
├── server
│   ├──…
         
    
    
        Michael Moreno
        
- 947
- 1
- 7
- 24
                    3
                    
            votes
                
                1 answer
            
        Deploy Nodejs backend to AWS Amplify backebnd
I have a React Front End and Nodejs Backend. I pushed it to GitHub. I want AWS Aplify to deploy it from GitHub.
AWS Amplify deploys the react front end without issues. However, I cannot find a solution on how to make it deploy the backend as well.…
         
    
    
        yaros
        
- 167
- 2
- 13
                    3
                    
            votes
                
                0 answers
            
        How do you make a full stack app multi language? Especially the backend/database etc
I found a million answers for how to add multi language support to a website/frontend. I can not find anyone talking about how to make the backend or API support multi language.
Simple example from my current project:
Nextjs React server for the…
         
    
    
        Steve Melons
        
- 83
- 1
- 7
                    2
                    
            votes
                
                2 answers
            
        Problem with showing whether I joined or not in a chat app
I have a bit of experience with react and express. I am trying to build a chat app using socket io. I am first time using it. But I think I got it a little bit after reading some documentation and youtube videos. Now, when someone enters the same…
         
    
    
        Nabil Ahmed
        
- 21
- 4
                    2
                    
            votes
                
                0 answers
            
        Does Google Cloud App Engine support websocket applications?
I deployed my backend server on google cloud engine and it generated an https. I am unable to use this with Websocket javascript library at frontend (react) and generates the following error:
SyntaxError: Failed to construct 'WebSocket': The URL's…
         
    
    
        Tasbiha
        
- 106
- 5
                    2
                    
            votes
                
                1 answer
            
        Hooking in Node.js and npm to a Spring Boot web app
I'm new to this topic and stuck for two days so I would really appreciate your help.
I'm trying to connect my Spring Boot to React. But I don't have package.json created anywhere just a node folder.
My steps:
I create Spring Boot 3.0.4 project with…
         
    
    
        Max Kremlev
        
- 99
- 9
                    2
                    
            votes
                
                1 answer
            
        how locate elements inside form next to each other
I'm trying to move the name, email and phone fields in the following image next to the message and button:
However, I can't get it fixed.
.full_form {
  display: block;
}
.form_contact {
  margin: 10.4%;
  float: right;
  border: 1px solid…
         
    
    
        Euclid-bytes
        
- 21
- 1