food-lookup-demo
food-lookup-demo copied to clipboard
A demonstration of using `create-react-app` with a server
Many of the dependencies are now badly deprecated. To the point that npm fails miserably. As I'm interested in the client+server unified deploy, I edited client/src/index.js and commented out the...
Your food-lookup-demo puts only the static portion ( the react app setup by create-react-app ) to heroku , what about the api server on port 3001
hi All, i am trying to Create a project through Create-react-app boilerplate then add a Backend Folder in Src and add Express Server With Name Server.js Inside That Backend Folder....
here is my code for index.js :- const express = require('express') require('./db/mongoose') const userRouter = require('../src/routers/userRouter') const taskRouter = require('../src/routers/taskRouter') const app = express() const port = process.env.PORT // app.use((req,res,next)=>...
I Cannot GET /register on heroku server error , it send 404 bad request ### server.js `const express = require('express'); const bodyParser = require('body-parser'); const bcrypt = require('bcrypt'); const cors...
Hi, I am new to react, Express and nodejs. I was wondering how to deploy the app manually to a server. Should I run the build script inside the client...
So I wanted to see if I could get full stack debugging in VSCode working with this project and I think I've made a working launch script: ```json { "version":...
Hi and thanks for the tutorial I am following here: https://www.fullstackreact.com/articles/using-create-react-app-with-a-server/ I was wondering what was the `start-client.js` file during my reading and I found out [here](https://github.com/fullstackreact/food-lookup-demo/blob/231a6afb49914ca14d13d59c1cde2a78a782241a/start-client.js#L1) that it is...
Been trying to make an app very similar to this. However, when deploying to Heroku without a HOST file I get "Invalid Host Header" on the react app. When adding...