New
Apps 6,235Makers 6,214This week 13
Promote your app−30%
6views in
the last 30 days

Birthday Celebration

Make an animated birthday cake card for someone special and send them a surprise link

Built with Claude Code

by khois345 · Unclaimed · from IDIndonesia · added Oct 29, 2026
no ratings0 comments

Birthday Celebration

An interactive birthday card built with Next.js. Users enter a name, age, and short regard message, then the app renders a decorated cake with candles based on the age. The candles can be blown out with the microphone or by clicking the blow button.

Features

  • Multi-language birthday pages: en, es, id, ja, ko, th, vi, and zh
  • Birthday form with name, age, and regard message fields
  • Cake generation with randomized color palettes
  • Candle blowing by microphone input and manual button action
  • Shareable session URLs for birthday cards
  • Refresh and return actions on the celebration page

Tech Stack

  • Next.js 15
  • React 18
  • TypeScript
  • MongoDB
  • Tailwind CSS
  • Sass
  • Framer Motion
  • React Toastify
  • React Device Detect

Setup

Prerequisites

  • Node.js 18 or newer
  • A MongoDB database

Install

npm install

Environment Variables

Create a .env.local file with your MongoDB connection string:

MONGODB_URI="your-mongodb-connection-string"

The app uses this value in lib/mongodb.ts and the birthday session API route.

Development

npm run dev

Then open http://localhost:3000.

Production Build

npm run build
npm run start

Project Flow

  1. The home page shows the form for the birthday message.
  2. Submitting the form creates a birthday session in MongoDB.
  3. The session page loads the birthday name, regard, and cake.
  4. The user can switch cake colors, refresh the page, or return home.
  5. The candle effect can be triggered by microphone input or by clicking the blow button.

Data Notes

  • Sessions are stored in the birthday-app database.
  • Session records live in the birthday_sessions collection.
  • Sessions expire after 7 days.
  • The API limits a device to 5 sessions per day.

Inspiration

This project was inspired by Tru Narla (mewtru) and the original birthday cake concept shared here:

License

This project is licensed under the MIT License. If you use or modify it, please keep the original credits.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#birthday · #greeting-card · #toys