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
0 answers

Fullstack app architecture | React | Redux | Node

I am creating a fullstack application using node, react redux mongo and passport. I have an ask regarding the app architecture:. Currently the hTML content being displayed on the pages(React Components) apart from the one being fetched from mongo…
0
votes
2 answers

Can't add marker with google-maps-react

import {Map, GoogleApiWrapper} from 'google-maps-react' var React = require('react') class GoogleMapContainer extends React.Component { render() { return(
0
votes
0 answers

Difference between port 3000 and 3001 in a fresh react-fullstack generated project?

I just run react-fullstack generator, and got two identical servers running at port 3000 and 3001. A quick google found that the 3001 port is supposed to be a webpack-dev-server. But the actual content I see at 3000 and 3001 is identical! What's the…
ripper234
  • 222,824
  • 274
  • 634
  • 905
-1
votes
1 answer

fast refresh in next js causing fetch error when it's use with express js

I'm tryin to fetch data from my api but fast refresh causing error when I try to know why I found that next js has a bug req.params work only for once because fast refresh feature in next js do you know a solution or any other way get id from url…
-1
votes
3 answers

Next.js server automatically ends after a few seconds of running "npm run dev"

i am running next.js for the first time, copied the installation script form the official page npx create-next-app@latest hello-word but after installation and running "npm run dev " or "yarn dev, it runs the server on port 3000, then after few…
-1
votes
1 answer

What causes aws amplify libraries to depricate after installation of backend?

I recently started following a tutorial to have user authentication handled by aws on the backend. After configuring everything, the imported libraries become depricated in the node_module folder and everything seems inaccessible. Any information…
-1
votes
1 answer

How to get Json data from backend node js to frontend html

From the below code, I am trying to access the JSON data to display on frontend screen. I exported it in node js and trying to import it in script tag in frontend html but I am not getting the data. Is there any way to access this data? …
-1
votes
1 answer

How to empty/clear a react form fields after passing form data to fire base data base?

I am validating and passing react form data to fire base data base through react hook form. It's validate and pass but form fields remain filled. I want after passing data to data base form fields will be empty/clear. So what should I do??There is…
-1
votes
1 answer

How To Maintain live website on production?

If I have a full-stack website hosted somewhere (digital ocean droplet for example), And I have developed new feature. How can I test it on production and how to push it to prod? It can be a small design feature but it can also be something more…
-1
votes
1 answer

how to fix "Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client"

* **> const PORT=8000 const express = require('express') const {v4:uuidv4}=require('uuid') const bcrypt =require('bcrypt') const jwt =require('jsonwebtoken') const cors=require('cors') const {MongoClient}=require('mongodb') const { raw } =…
-1
votes
2 answers

Sequelize ORM - excluding Left Join

I'm building Full Stack, Social media app using Sequelize ORM. sequelize: 6.6.5 sequelize-cli: 6.2.0 My database is built of tables Users, Posts and ReadPosts - which has two foreign keys - UserId and PostId. One of the features of the app, is…
Bart S
  • 1
  • 4
-1
votes
1 answer

How to use object of type Promise as a string

hello guys I am having a problem with the types in typescript. I am using micro orm to fetch data from the database I am using this code const user = (await orm).em.findOne(User, { username: options.username }); it's returning me user:…
-1
votes
1 answer

Js outputs wrong day in the console for some odd reason

I'm working on a calendar project that keeps giving me a wrong day in the console for instance I put 14.5.21 in my constructor which is a friday and instead of 5 it gives me 4 for some odd reason. seems to me that the month and year work just fine…
-1
votes
1 answer

what is the path one have to follow in order to become Full Stack developer?

I am the student of 4th semester in CS dept. so far i have learnt C++,OOP(java) and data structures(java) currently learning data base. I want to be a best full stack developer. but when search for the material to study. I get so many things like…
1 2 3
24
25