Skip to content

winnie14742/call-pal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Run locally

  1. Install dependencies (Node 18+):

    npm install
  2. Start the dev server:

    npm run dev

    (Or use yarn dev, pnpm dev, or bun dev.)

  3. Open the app: http://localhost:3000

    The app and API run on the same origin, so all /api/* routes are served by this server. To point the frontend at a different backend (e.g. production), set:

    NEXT_PUBLIC_API_URL=https://call-pal.vercel.app npm run dev

End-to-end flows

Calm mode (step-by-step, themed)

  1. Open http://localhost:3000. You see: “How would you like CallPal to feel?” with two cards.
  2. Tap “Calm & Guided” (left card). You go to Calm onboarding (first time only).
  3. Enter a favourite thing (e.g. “Barbie”, “cats”, “space”) and tap “Make CallPal mine 💜”. Theme is applied and you’re taken to Calm Home.
  4. On Calm Home, tap a door tile (e.g. 🩺 Doctor). You go to Calm Input.
  5. Type what you need (e.g. “My back has been hurting”) and tap the theme button (e.g. “Let’s do this! 💗”). You go to Calm Confirm.
  6. On Calm Confirm, tap the primary button to start the call. You go to Calm Calling (waiting screen with transcript polling).
  7. When transcript appears, you’re taken to Calm Done. From there use “Back to home” or “Share summary”, or use the bottom nav (Home / History / Settings).

Power mode (quick, dark UI)

  1. Open http://localhost:3000. Tap “Quick & Simple” (right card). You go to Power Home.
  2. Optionally tap a pill (Doctor, Bank, etc.) to set context. Type in the input (e.g. “Book an appointment”) and tap “Go →”. You go straight to Power Calling (no confirm step).
  3. On Power Calling, watch status (Calling… → Connected → Done) and the live transcript. Tap “New call” to return to Power Home.

Settings (both modes)

  • Calm: Bottom nav → Settings.
  • Power: Bottom nav → Settings.

On Settings you can: edit Name; switch Mode (Calm 🌿 / Power ⚡); in Calm, change theme (favourite thing) and see Caregiver; view About.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

CallPal

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages