Hello, I'm the sample app

A sample Node.js + Express application for the PerfectVibe platform.

Get Started with Vibe Coding

Copy the prompt below and paste it into your AI agent (GitHub Copilot, Cursor, etc.) to begin building your own app on this platform.

Starter Prompt
I want to build a new app using the pd-perfect-vibe template repository. Please help me get set up and start building.

First, check if the GitHub CLI is authenticated:
  gh auth status
If it is not authenticated, run:
  gh auth login
Follow the prompts to log in.

Then clone the repository and enter it:
  git clone https://github.com/ab-inbev-perfectdraft/pd-perfect-vibe.git
  cd pd-perfect-vibe

Create a branch with a short, meaningful name — this becomes the ArgoCD tile name and deployment URL slug, so keep it concise (e.g. "beer-finder", not "feature/my-long-description"):
  git checkout -b <your-app-name>

Read these guides before making any changes:
  - README.md
  - CONTRIBUTING.md
  - VIBECODING.md
  - src/README.md

Your working area is src/ only. Build your app by modifying the sample Express app in src/app/ and its tests in src/tests/.

My app idea: [describe what you want to build here]

Previewing Your App Locally

Ask your agent to build and preview your app locally using Docker, there are instructions for this in the sample README.md. This allows you to test your changes before pushing them to GitHub.

Deploying Your App

Once you've made your changes, follow these steps to see your app running in ArgoCD.

  1. Push your branch to GitHub:
    git push -u origin <your-app-name>
  2. Open a pull request to develop on GitHub.
  3. Wait for the build. The CI pipeline builds and pushes a container image — this takes a few minutes.
  4. Find your app in ArgoCD. Your app tile will appear once deployed. It may take a little time to build and wake up.

FizzBuzz

Enter a number to see the FizzBuzz result: