Skip to main content
Frontend tutorial

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​

  1. Explain the tool set: what we use and why, plus a small TypeScript warm-up.
  2. 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.
  3. Create base for your app: read a fresh Vite project from the outside in, clean up its template and create your own.
  4. MobX in React: counters, from useState to a MobX store, with a limit, a sum and two bonus reactions.
  5. ShippingBoard Lite: add a ramp dashboard to a real app, in StackBlitz or on your computer.
  6. Tests: test the counter store, first red, then green, then on your own.
  7. Fetch: load ramps with await and with then, and let the store handle loading and errors.
  8. 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.

Your learning route

The eight chapters of the course

The eight chapters of the courseEight connected stops: 1. Explain the tool set, 2. Tools around development, 3. Create base for your app, 4. MobX in React, 5. ShippingBoard Lite, 6. Tests, 7. Fetch, 8. UI5 Web Components for React.01Explain thetool set02Tools arounddevelopment03Create basefor your app04MobX inReact05ShippingBoardLite06Tests07Fetch08UI5 WebComponentsfor ReactThe eight chapters of the courseEight connected stops: 1. Explain the tool set, 2. Tools around development, 3. Create base for your app, 4. MobX in React, 5. ShippingBoard Lite, 6. Tests, 7. Fetch, 8. UI5 Web Components for React.01Explain the tool set02Tools arounddevelopment03Create basefor your app04MobX in React05ShippingBoard Lite06Tests07Fetch08UI5 Web Componentsfor React

From the tools on your computer to the way we use React with MobX at work.