All projects

WEB / COMMERCE

Eternals Fiji

A custom bouquet storefront for a flower business in Fiji. The staging build pairs guest checkout with an owner’s order workspace.

My role
Storefront and admin developer
Status
Staging
Stack
Next.js · TypeScript · Supabase · Tailwind CSS
Eternals Fiji storefront homepage with the headline Some feelings deserve flowers and its wrapped bouquet collection

The problem

A bouquet order has two constraints a product catalogue alone cannot express. The customer chooses an arrangement, and the studio needs time to make it. Checkout has to preserve those choices and reserve a slot the owner can fulfil.

My contribution

Implemented the product catalogue, guest checkout and the owner’s order review workspace.

Architecture

  1. Storefront

    Guests configure a bouquet, add it to the cart and choose pickup or delivery.

  2. Checkout

    The server obtains a quote and the database places the order against available slot capacity.

  3. Owner workspace

    The studio reviews the payment reference and manages fulfilment against the saved order.

Engineering challenges

Reserve the last slot once

A pending order holds capacity. Database tests fill a slot, attempt another booking and check that an expired hold makes space available again.

Keep the quote authoritative

The checkout flow derives prices from the catalogue. Unit tests cover browser-supplied price observations and removing only confirmed quantities from the cart.

Testing and results

Eight cart and checkout unit tests passed, including delivery address validation and preserving later additions to a cart. The database suite also covers guest receipts and capacity reservations. The project has not been approved for public launch.

What I learned

A checkout flow is only complete when the studio can reconcile the payment and see which order occupies a slot.