Frontend tutorial
The purpose of this tutorial is to show how my team at work builds web applications, and to share that knowledge with my colleagues and with students.
Start with chapter 1. It runs in your browser; there's nothing to install yet.
Who we are
We are developers at ZF, in the IT department. Our job is to create and fix the applications that help run factories, on computers, tablets and scanner devices. On the backend we have SAP ERP, where we write REST services in ABAP and store our frontend code.
There is not one frontend technology that solves all problems, and we don't have only one way to build an app. Across our projects we use Angular, React and UI5. There's a lot to talk about, but in this tutorial I show you only the way we build apps with React and MobX.
The route
- Explain the tool set: what we use and why, plus a small TypeScript warm-up.
- Tools around development: my setup on every system; then run the shipment list from chapter 1 on your computer, catch a typo with TypeScript and commit.
- Create base for your app: read a fresh Vite project from the outside in, clean up its template and create your own.
- MobX in React: counters, from
useStateto a MobX store, with a limit, a sum and two bonus reactions. - ShippingBoard Lite: add a ramp dashboard to a real app, in StackBlitz or on your computer.
- Tests: test the counter store, first red, then green, then on your own.
- Fetch: load ramps with
awaitand withthen, and let the store handle loading and errors. - UI5 Web Components for React: a pallet counter with SAP's button, icons and progress indicator, so we don't invent everything from scratch.
How a lesson works
Read on the left, edit the code on the right and watch the preview. Stuck? Open a hint or choose Show solution. Your code stays in this browser; course help shows how to keep a copy or continue on your computer.