- Clone this repo!
- You need
nodeandyarninstalled - Change to
node-react-workshopdirectory - run
npm i nodemon -g npm i - Change to
frontendand runnpm i - change back to root and run
yarn dev- this will start frontend and backend! - When opening
http://localhost:3000you should see the frontend! - When opening
http://localhost:8080you should see a welcome JSON from the backend.
Debug connection is set in the .vscode/launch.json.
If the project is started by using the yarn dev command from the projects root, both projects are started!
Backend can be run seperated from the frontend, cause of this the frontend directory does not contain an additional .vscode/launch.json!
Inside VS Code the debugger must be connected to Chrome.
So first install the VS Code extension Debugger for Chrome, then on the debug tab start Frontend Debug against Chrome.

Inside VS Code the debugger must be connected to Node.
Do do so click on the debug tab and start Backend Debug against Node(Nodemon).

Inside backend you find your backend-server, more is described in the backends README.md.
Inside frontend you find your frontend as React app, more is described in the frontends README.md.
All needed infos will be in Campusweek2 Powerpoint