365体育足球滚球比分

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

How to retrieve and display images in reactjs that are stored on the server side using multer and the path is stored in the database

I am having similar problem.I stored the path in database named Cast and the images on the server. The database has two fields name and image. In the react app,i want to display the image.I am not ...
0
votes
2answers
26 views

MERN project routing not working on Heroku

I have created a personal website. It is developed using ReactJs, Express, Node, and MongoDB. It is working fine on my localhost also, Heroku (using react-router-dom) too. But, when I direct hit the ...
0
votes
1answer
13 views

How to deploy an already built react app with express.js backend to heroku

I have been working on a project for a while now and want to know if anyone has some resources for how to deploy a site that is already built with react and uses an express.js backend to heroku. Every ...
1
vote
0answers
9 views

Trying to set up Github Passport2 Strategy with React/express

I'm not sure what I am doing wrong I've followed the documentation and it looks like I set up everything correctly but it just doesn't want to grant me the access token and redirect me! Do I need to ...
0
votes
0answers
17 views

Uploading single image - NodeJS/Express, Knex (Mysql), React using Multer

I am working on the project using stack -> (back-end : NodeJS/Express, front-end : React, database : Knex(Mysql), image upload : Multer ) and I am stuck in I would say a bit pathetic thing. I would ...
2
votes
3answers
65 views

Access-Control-Allow-Origin error on axios request even after enabling express CORS middleware

I am recently deployed my API on Heroku, and I'm having some CORS related issues. I've seen many other posts that talk about enabling CORS (and I've done that in my code), but whenever I make the ...
1
vote
1answer
26 views

Why do I keep getting a 500(Internal Server Error) GET http://localhost:3000/favicon.ico 500 (Internal Server Error)?

When I began this project I didn't keep anything from the CRA files that are generated, so why do I still get this error, where is it comming from? GET http://localhost:3000/favicon.ico 500 (Internal ...
0
votes
1answer
34 views

Display tooltip on press in react hooks and hide after few seconds

I would like to display phonenumber as tooltipduring onPress(),the below code display the data always. How to make dispay during onPress and hide in 5 seconds. const [phoneTooltip, ...
0
votes
0answers
25 views

Deploying app to google app engine and want to start api and client

Following this tutorial to get an api and client on google cloud platform: http://www.freecodecamp.org/news/create-a-react-frontend-a-node-express-backend-and-connect-them-together-c5798926047c/ I ...
0
votes
1answer
23 views

Axios post request renders entire file contents as response instead of executing serverside file

I am trying to send gmail using nodemmailer and axios in react application. But the response i get is the entire file contents. Any help is greatly appreciated. Thank you. Here is my frontend axios ...
-1
votes
0answers
29 views

why I m getting TypeError: Failed to fetch?

I got a fetched error type when trying to send data from a react app . note that I m using cores. and it s working fine on localhost with client side and not when hosting it online. Note : I get ...
1
vote
1answer
41 views

How to prevent react being refresh after receiving response from server side when form being submitted

Am having issues with reactjs and nodejs, I want to upload image and at the same time save user input into database. I was able to accomplish all these but the problem is if I completely fill the form ...
0
votes
0answers
11 views

Codesandbox Template: Express / Webpack deployable to Vercel

I have been on the hunt for a base template which has Express + React (ideally with webpack) and is deploy-able to Vercel through code sandbox. All of the sample templates I have founds will not ...
0
votes
1answer
17 views

Curl works but React App throwing Cannot POST / error while using Axios and Express

I am trying to implement a simple form to send email. The error that I am getting is Cannot POST / I've used Create React App and the App.js looks like below:- import React, { Component } from '...
0
votes
2answers
32 views

Problem with React making Get request to Node(express)

As the title says, i have a part of my react app that tries to get some data from my database, making a select based on the value I passed to it. So im gonna go ahead and first show the code where i ...

15 30 50 per page
1
2 3 4 5
256