Closed guti21js closed 5 years ago
Hey @yizongk can you review this before I merge.
Don't change the port to 3000 in server.js, it will conflict with react.
Okay so then I will change the README then.
Ya, React is using port 3000, i changed server.js to port 5000 for that reason. As of right now, React read from port 3000 and redirect it to port 5000 when it interacts with server.js
Is there also a way to do the form in React? by editing src/myapp/client/src/App.js? Because I am not sure if editing the index.html is a good idea. That html is meant to be a blank page that will be updated with content returned from App.js
Which means that App.js in the future can potentital wipe out the form input boxes in the future as it will do its job by updating that html with new content by overwriting certain area of the html.
Changed port to 3000 in server.js according to instructions and added login and password into index.html.