Hi there! 👋 Welcome to the practical part of your assessment. You will be testing a small online store application locally. WebbyLab-Shop features a classic e-commerce flow: a product catalog, individual product pages, and a checkout form.
- React 19 + Vite
- React Router
- CSS Modules
- Cart state via React Context (no Redux)
- Node.js 20.19+, 22.13+, or 24+ (for local run)
- npm
- Docker (for running in a container)
npm install
npm startThe app will be available at http://localhost:3000
Other commands:
npm run build # build the production version into dist/
npm run preview # preview the built version locally (http://localhost:3000)
npm run lint # run ESLintThe mock API (
/api/products,/api/products/:id,/api/categories,/api/order) runs through middleware invite.config.jsand is available both innpm startmode and innpm run preview.
Build the image and run the container:
docker build -t webbylab-shop .
docker run --rm -p 3000:3000 webbylab-shopOr with Docker Compose:
docker compose up --buildThe app will be available at http://localhost:3000
Inside the container npm run build runs first, then the app is served with
npm run preview (the Vite preview server together with the mock API).
If you run into any issues during the setup, please reach out directly to the company representative (your recruiter or hiring manager) who is communicating with you regarding your application.