About the project
bazaar is an e-commerce shop in PHP, built on a hand-rolled microframework instead of Laravel or Symfony. A customer browses the catalogue, collects products in a cart kept in the session and pays through Stripe Checkout (a payment page hosted by Stripe). The shop has customer accounts and a full admin back office, and database queries go only through prepared statements (parameterised queries that protect against SQL injection).
The challenge
A hand-rolled microframework instead of Laravel or Symfony is a deliberate descent to a level where you guard session and query safety yourself, because no ready-made framework does it for you. In a shop with payments there was no room for shortcuts here.