Fullstack Project: the MasterLinux Shop, a Marketplace from A to Z
Exit

Lesson 7 of 12 · Back-end

Cart and orders: transactions, statuses and transfer reference

1 h 35 min Node.js 22 (Debian, git, npm, python3)

Objective

Write the heart of the MasterLinux shop: recalculate the cart on the server side (in centimes, VAT included, delivery), create the order in a transaction that protects the stock even when two customers buy the last item at the same moment, generate a transfer reference that detects typing mistakes, and move the order through a controlled cycle of statuses.

This lesson is part of the full course

Unlock Fullstack Project: the MasterLinux Shop, a Marketplace from A to Z to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.