During the workshop, we will complete exercises. To participate, you need to install some necessary tools (if you haven't already).
You can use this guide to check, if your setup works before the workshop. This ensures you have time to resolve any issues, especially if your computer has security restrictions or you lack full administrative access.
For Your Laptop/PC
Ensure the following are installed on your laptop/PC:
- Git (for cloning the workspace)
- Node.js LTS version, preferably at least 20.17.x, which I used for testing. Other versions might work as well.
- A Web Browser
- An IDE or a Text Editor. If you already have a preferred editor, use it during training to avoid learning a new tool. Otherwise, the following tools are recommended:
- Visual Studio Code
- WebStorm (Evaluation version is sufficient)
- IntelliJ IDEA (Ultimate Edition; evaluation version is also sufficient)
Optional: Browser Extensions for React
- For working with React, installing the React Developer Tools is recommended. They are available for:
- These Developer Tools are not required for the workshop.
During the Training
- As updates may need to be installed before and during training, ensure that your computer has internet access throughout the session:
- Ensure that installing npm packages and cloning Git repositories also work during the training.
- Check that no proxy, VPN, firewall, or other settings prevent access to Git and npm.
- If needed, you can find information on configuring a proxy for npm here.
- Please keep your camera on during the training! Otherwise, it’s difficult for me to see if I am boring you or if you’re struggling to keep up.
- You only need to turn on your microphone when you want to speak or ask a question (which you are welcome to do at any time!).
- Wi-Fi is convenient, but a wired network connection is more stable for (long) streaming sessions. If possible, use a cable connection instead of Wi-Fi (and disable Wi-Fi) for a smoother experience 😊.
To ensure everything runs smoothly during the workshop, please complete the following steps beforehand, even if updates are made during the session (which is why Git and npm should also work during the workshop).
-
Clone the repository:
git clone https://github.com/nilshartmann/react19-workshop
-
Install the required npm packages:
cd ./backend npm install cd ./workspace npm install npm run build
- You should see the message
built in XXXmson the console
-
Start the backend from the backend directory:
cd ./backend npm startNote! The backend runs on Port 7100, so this port must be available.
-
Test the backend:
- Open this URL in a browser (or use
curl,wget, orhttpie): http://localhost:7100/posts - You should see JSON data returned.
- Open this URL in a browser (or use
- During the workshop we will work inside the directory
react19-workspace/workspace. Please execute the following steps in that folder.
- Run the "Hello-World"-Test:
cd ./workspace npm run hello-world-test
- You should see output like this:
Test Files 1 passed (1)
Tests 1 passed (1)
-
Start the frontend:
cd ./workspace npm run dev
Note! The frontend runs on Port 3000, so this port must be available.
- Once the frontend starts, test the application by opening http://localhost:3000 in your browser. You should see a "Hello World" message.
- If you have any questions or run into issues, feel free to reach out to me.