Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
Prompt libraryNovember 22, 20266 min read

A Prompt for a Study Flashcards App

A flashcard app is a scheduling problem wearing a card costume. This brief gets the schedule right first, then makes reviewing feel quick.

Startbase Team
Editorial ink illustration of a stack of index cards in a binder clip beside a brass kitchen timer, the clip in ember orange

Key takeaways

  • Name the review schedule in the brief. A simple box system with fixed intervals is easy to understand, test and explain to students.
  • Store every review as a row. You can change the schedule later and recompute, and you get honest stats for free.
  • CSV import on day one decides whether people bring their existing cards or leave.

This prompt builds a study flashcards app for exam season: decks of question and answer cards, a daily review session that shows each card when it is due, a simple spaced repetition schedule you can explain in one sentence, and import from a spreadsheet so nobody types two hundred cards by hand. Copy the brief, paste it into Startbase, and keep reading for the reasoning, the next prompts and the usual fixes.

Copy the brief

Build a study flashcards web app for students, focused and distraction-free, works well on a phone. Use Startbase Cloud for sign-in (email and password) and data. Data: decks (owner, name, description, color), cards (deck, front text, back text, optional hint, created_at), card_state (card, box from 1 to 5, due_date), and reviews (card, user, result: again or got it, reviewed_at, seconds taken). Schedule: a new card starts in box 1. Got it moves the card up one box; Again sends it back to box 1. Due intervals by box: 1 day, 3 days, 7 days, 14 days, 30 days. Screens: 1) Home: today's due count across all decks, a Start review button, my streak of days with at least one review, and a daily goal (default 30 cards) with a progress ring. 2) Decks: list with due and total counts per deck. 3) Deck page: card list with box number, add and edit cards, and Import CSV (two columns: front, back; first row may be a header; preview before import). 4) Review: show the front, tap to flip, then Again or Got it; keyboard shortcuts space to flip, 1 for Again, 2 for Got it; end with a summary. 5) Stats: reviews per day for 30 days and cards per box. Each user sees only their own decks. Out of scope: shared or public decks, images and audio on cards, AI card generation, and classes or teachers.

Why these lines matter

The schedule is spelled out to the day. Spaced repetition has many versions, from simple box systems (often called the Leitner system, after the person who popularized physical card boxes) to adaptive algorithms that compute a new interval for every card. If you leave it open, the agent picks one, and you will not be able to tell whether a card showing up today is a bug or a feature. Five boxes with fixed intervals is easy to test: answer Got it, check the due date moved three days.

  • card_state separate from cards: the card is the content; its box and due date are your progress. Keeping them apart means editing a typo does not reset your progress, and a shared-decks version later can give each learner their own state.
  • Reviews as rows: stats, streaks and any future schedule change all come from this table. If you later decide intervals should be different, you can recompute from history.
  • Two buttons, not four: some apps offer Again, Hard, Good and Easy. Two buttons are faster on a phone and harder to game. You can add more once you see how people use it.
  • Keyboard shortcuts: students review on laptops at night. Space, 1 and 2 make two hundred cards feel quick.
  • CSV with preview: people already have cards in spreadsheets or other apps. A preview step catches a swapped column before it creates two hundred backwards cards.
  • A daily goal and streak, not points: a goal gives a finish line for today. The streak counts days, not cards, so one review keeps it alive on a bad day.

The three follow-ups to send first

  1. 01"Add a reverse mode per deck: when on, each card is also asked back to front, with its own box and due date."
  2. 02"Add a cram session for a deck that ignores due dates and shows every card once in random order, without changing boxes or due dates."
  3. 03"Send me a reminder email at 6 pm in my time zone on days when I have cards due and have not reviewed yet. Let me turn it off in settings."

Reverse mode is the first request from anyone learning vocabulary. Cram mode exists because exams do not care about your schedule, and it must not wreck the spacing data. The reminder email is the only nudge most web apps can count on. In Startbase Cloud it is a scheduled job plus an email: jobs run on a schedule inside your database (in UTC, so the agent has to convert from each user's time zone), and your app can send email through the platform sender with no keys once the App AI gateway is on, within a daily per-project limit, or through your own domain when you outgrow it.

Two variations

A language deck with audio

Add to the brief: "Cards can have an audio file on the back. Store audio in a private storage bucket. In review, play the audio automatically after the flip, with a replay button." Record your own audio or upload clips you have the rights to use. Pair it with reverse mode and you have a vocabulary trainer.

Cards drafted from your notes

Add an AI step: "On a deck, I can paste my lecture notes. An AI call returns up to 20 question and answer pairs as structured JSON. Show them as drafts I can edit, keep or discard before they become cards." Keep drafts out of review until approved: generated cards are often too long or test trivia, and a human pass fixes both. The App AI gateway handles the call without API keys in your app, and text calls spend runtime usage, so set a cap first.

Usual problems and how to word the fix

  • Cards due "today" appear tomorrow, or twice. Dates stored as timestamps in UTC shift across midnight. Ask: "Store due_date as a date, compute today in the user's time zone, and count a card as due when due_date is today or earlier."
  • Review shows the same card twice in a row. Ask: "When I press Again, put the card back at least five cards later in this session, not next."
  • Import creates backwards cards or merges commas. Ask: "Parse CSV properly, including quoted fields that contain commas and line breaks, and let me swap columns in the preview."
  • The streak resets at the wrong time. Ask: "A streak day is a calendar day in my time zone. Show yesterday as done if I reviewed before my local midnight."
  • Editing a card resets its progress. Check that edits change cards only. Ask: "Editing a card's text must not touch card_state."

Tip

Test the schedule by changing the date, not by waiting. Ask the agent for a hidden debug setting that pretends today is a later date in your own account only, then remove it before you share the app.

When it is ready to share

Use it yourself for a week of real study first; a flashcard app proves itself on day four, when the first cards come back. Then publish it to a startbase.app address in one click and send the link to your study group. Each person signs up and keeps their own decks.

For the deeper explanation of spaced repetition, card design and what makes study apps stick, read how to build a flashcard app. The reminder email relies on two backend pieces: scheduled jobs and sending emails from your app. The Jobs docs show where to switch the reminder on and off and read its run history.

Frequently asked questions

What is the Leitner system for flashcards?

It sorts cards into numbered boxes. A card you get right moves to the next box, which is reviewed less often; a card you miss goes back to the first box. It is a simple, explainable form of spaced repetition.

Is a box system as good as an adaptive algorithm?

Adaptive algorithms can space reviews more efficiently, but a box system is easier to understand and test, and it works well for most students. Store every review so you can switch schedules later without losing history.

Can I import my existing flashcards?

Most apps can export cards as CSV. A two-column import (front and back) with a preview step brings them in and catches swapped columns before anything is saved.

On this page

  • Copy the brief
  • Why these lines matter
  • The three follow-ups to send first
  • Two variations
  • Usual problems and how to word the fix
  • When it is ready to share

Keep reading

More in Prompt library
Editorial ink illustration of an open seed packet beside a wooden hoe and a watering can, one sprouted seed in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Cozy Farming Game

Paste this brief to get a calm, playable farm on the first build: four crops with real numbers, an eight-minute day, two seasons and controls that work under a thumb.

7 min read
Editorial ink illustration of an iron dungeon key, a die and a skull candle holder, the candle flame in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Roguelite Dungeon Crawler

One brief for a top-down roguelite that is fun on the first build: a dodge with real frame values, enemies that telegraph, relics that change runs and a hub that keeps progress after death.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.