Skip to content
Back to projects

Case study

Bistro & Jars Coffee Bar

A live website for a local coffee bar, built with smooth scroll animations and WhatsApp integration. When a guest sends an inquiry or a celebration booking, the café is notified on WhatsApp and the guest gets a confirmation that the request was received.

Role:
Design and development
Type:
Client project
  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • GSAP
  • WhatsApp Cloud API
  • Upstash Redis
Bistro & Jars homepage with the café storefront and the line Coffee brings you in

Overview

I designed and built the site for Bistro & Jars Coffee Bar. The homepage moves from the storefront through the café and the Monster Shake, then previews the gallery and the menu and shows guest reviews. Serbian and English stay on the same URLs. An inquiry or a celebration booking notifies the café on WhatsApp and sends the guest a confirmation that the request was received. The site does not keep a copy of the form.

Problem

  • Guests needed the café itself, not only an address: the room, the drinks and a reason to come in.
  • The printed menu uses a QR code, so that page has to stay complete on a phone and on one stable address.
  • Guests needed to contact the café and to know their request was received.

Goals

  • Give the homepage a premium scroll, from the storefront through the Monster Shake to the contact form.
  • Keep both languages on the same URLs, with no language prefix.
  • Let a guest send an inquiry or a celebration booking, with a WhatsApp notification to the café and a message to the guest confirming the request was received.

Solution walkthrough

A walkthrough of the homepage, the gallery, the menu and the contact page.

  1. 01

    Homepage

    The homepage opens on the storefront, then moves through the café. The Monster Shake Kinder is its own sequence, from the base to the final touch. Below that, a preview of the gallery and the menu, guest reviews and the contact section.

    Bistro & Jars café interior with the bar, ice cream display and seating
    Monster Shake Kinder page as the shake is poured into the prepared jar
    Finished Monster Shake Kinder with chocolate sauce and sprinkles on the final step
  2. 02

    Gallery and menu

    The homepage previews the gallery and the menu and each has its own page. The menu is the full list, with prices in RSD and it is what the printed QR code opens.

    Gallery page with three Monster Shakes and photos of the café
    Desktop menu with Sweet jars and Homemade iced tea, prices in RSD
    Mobile menu with Sweet jars open and the other drink categories listed below
  3. 03

    Inquiry and celebration booking

    The contact form is on the homepage and on its own page. Inquiry asks for a name, phone and message. Celebration booking adds the date and time, how many guests and the details. Sending it asks the café to confirm. It does not reserve the table. The café is notified on WhatsApp and the guest gets a confirmation that the request was received.

    Visit us page on the inquiry path, with name, phone and message fields
    Visit us page on the celebration booking path, with date, guests and celebration details

Features

Homepage and menu

  • Scroll-driven homepage built with GSAP and ScrollTrigger, from the storefront to the contact form
  • Both languages on the same URLs, without a language prefix
  • Full menu at the address on the printed QR code

Contact

  • Inquiry and celebration booking on one form, with WhatsApp messages to the café and the guest
  • A honeypot field and a WhatsApp link or a phone call if the café’s message cannot be sent
  • Rate-limited submissions through Upstash Redis

How it's built

The site is a Next.js 16 app on the App Router, with React 19, TypeScript and Tailwind CSS 4. Homepage motion uses GSAP with ScrollTrigger. Contact submissions go out through the WhatsApp Cloud API and Upstash Redis rate-limits those requests. Menu items live in one data file, with both languages together, so prices and names can change without touching the layout. The app is deployed on Vercel.

  • The storefront and the Monster Shake move with the scroll

    GSAP ScrollTrigger pins each section and ties the video's playback position to scroll progress, so the clip plays forward and back with the page. Pins are created only after the video's metadata loads. Phones get their own portrait clip, a shorter pin and fewer frame updates per second. Reduced motion or a video that is slow to load shows a still frame instead.

  • One address for both languages

    Every page renders in Serbian on the server and the site switches to English after load if the guest picked it before. The choice is saved in localStorage. The trade-off is a brief Serbian first view for returning English visitors, in exchange for one address per page and no redirects or language cookies.

  • WhatsApp templates, not a saved form

    The API route checks every request on the server first. Phone numbers are normalised to E.164, messages are capped at 500 characters and a celebration booking must be a whole-hour slot at least 24 hours ahead in Belgrade time, for 1 to 50 guests. The café's message is sent first. The guest's confirmation, with their name and the booking details, only goes out once that succeeds.

  • Abuse limits, without storing the form

    A filled-in honeypot field is accepted silently and dropped. Upstash Redis counts sends per IP and per SHA-256 hash of the phone number over one-hour windows and falls back to an in-memory counter if Redis can't be reached. If the café's WhatsApp message cannot be sent, the guest gets a WhatsApp link or the café's phone number instead.

Tech stack

Frontend

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS 4
  • GSAP
  • ScrollTrigger

Services

  • WhatsApp Cloud API
  • Upstash Redis

Hosting

  • Vercel

Challenges

  • The hero and the Monster Shake

    Approach: The storefront film and the Monster Shake play with the scroll, so the shake is shown being made from base to final touch. Pins add extra height once the videos load, so a saved scroll position is restored only after both pins exist. Applying it sooner would use the pre-pin layout and could reopen the homepage in the wrong place.

    Result: The opening and the signature drink carry the visit, ahead of the gallery preview, the menu preview and the contact form.

  • A menu address that works in print and on the site

    Approach: The full menu lives at /menu. Language does not add a prefix, so the printed QR code and the menu link open the same address in either language.

    Result: The printed menu and the site share one address. The trade-off is that the two languages do not get separate URLs.

  • Reaching both people without storing the form

    Approach: The form offers an inquiry or a celebration booking. Each send goes through the WhatsApp Cloud API to the café and the guest receives a confirmation that the request was received. A honeypot field and Upstash Redis keep that path available for guests. If the café’s message cannot be sent, the guest can continue through a WhatsApp link or a phone call.

    Result: The café and the guest each get a WhatsApp message and the site does not keep a database of requests. The record stays in the café’s WhatsApp chat.

Client feedback

Excellent experience working with Nemanja. He understood my vision perfectly and built exactly what I had in mind. The final result exceeded my expectations and the modern, premium-looking website really fits the atmosphere of my café. He also set up WhatsApp notifications for the inquiry and booking forms and it works perfectly. His communication was great, he always replied very fast and everything was delivered on time and exactly the way I wanted. I'm very happy with the result and would gladly work with him again.

Bistro & Jars Coffee Bar

Want to see how I'd work on your team?

I'm open to full-time roles. Download my CV for a concise overview, or get in touch to talk about how I'd fit your team.