← back to projects
[+]

Pizzeria

ReactNode.jsExpressTailwind CSSJWT
Screenshot of the project Pizzeria

Full-stack pizzeria project with a pizza catalog, shopping cart and JWT-based user authentication. The frontend consumes a custom REST API that manages users, pizzas and a simulated checkout, with route protection through Bearer tokens.

Global state is handled with React Context (Cart, User, Pizzas) and routing is an SPA with React Router: Login, Register, Profile, Cart, Home and a 404 page. Notifications use react-hot-toast and icons come from lucide-react.

The backend runs on Node.js + Express with a layered architecture (routes → controllers → models → middlewares), persistence through JSON files and passwords that are never stored in plain text: scrypt hashing, a random per-user salt and constant-time comparison.