Naar de inhoud

Marjoram

v1.0

A finance super app for iOS and Android phones and tablets, drawn like a city transit map at night: one cyan route line runs from your balance down a line of service stops, with amber offer tickets and a crisp daylight look. A wallet and Pay ID, scan and pay, rides on a drawn map, food and grocery delivery, and doctor visits.

$199

Ingebouwd

Wat je krijgt
  • Licht en donkerGebruikt de kleuren van je thema
  • telefoon en tabletDe schermen waarvoor het is gebouwd
  • Pakketten…
  • Codegrootte…
  • Zuinig voor de batterij30 fps, rust als er niets beweegt
  • Pauzeert als het verborgen isBuiten beeld of ander tabblad
  • Minder bewegingRustig voor wie erom vraagt

Bij elke wijziging gecheckt

Beveiliging gecheckt op 3 dec
  • TypecheckTypeScript strict
  • Lint en opmaakESLint · Prettier
  • Tests en buildScreenshots in licht en donker
  • BeveiligingsauditGeen hoge of kritieke advisories
  • Leeftijd van pakkettenElke versie al 7+ dagen openbaar
  • CPU in rustOnder een halve core in rust, ≤ 30 fps

Code

wallet-marjoramReact Native
  • README.mdHow to run it, change it and ship it.
  • app.config.tsThe app's name, ids and platform settings.
  • package.jsonThe app's packages: Expo, React Native.
  • package-lock.jsonThe exact package versions npm ci installs.
  • tsconfig.jsonTypeScript settings: strict, typed routes.
  • .npmrcnpm settings: exact versions, no install scripts.
  • .gitignoreWhat git leaves out: packages, builds, keys.
  • images.d.tsLets the app import its photos (data/photos.ts): Metro turns each .jpg into an image source <Image> takes.
  • appThe screens, one file per route (Expo Router).
    • (tabs)The screens, one file per route (Expo Router).
      • _layout.tsxThe tabs: Home, Activity, Wallet and Profile with the Scan key between them.
      • activity.tsxActivity: every transaction, newest first, grouped by day, with a search and filter chips (Sent, Received, Food, Groceries, Rides, Care, Bills) under a gliding marker, and money in and out for what's shown.
      • home.tsxHome: where you are, the bell and your photo, and the greeting; the balance straight on the sky with the route line drawing out of its 30-day chart and down the line of service stops (Pay, Ride, Food, Groceries, Doctor); the quick keys (Scan & pay, Pay ID, Offers, More); the one live card with its map; offers as a strip of ticket stubs; and recent payments as a ledger.
      • profile.tsxProfile: your member pass (photo, name, email, Verified, and your Pay ID with Copy and its code); your payments, orders and visits counted; Edit profile (a sheet); the places for money, services and the app under station signs; and Sign out, which asks first and then lands on the welcome screen, where Back can't return (app/_layout.tsx guards the rest).
      • wallet.tsxWallet: the balance counting up with Add money, Send and Request, this month's money in and out, then your cards as a stack that slides out on every visit (tap one to open it) and Add card.
    • cardThe screens, one file per route (Expo Router).
      • [id].tsxA linked card's page on a phone: freeze it, see its limit and payments, edit or remove it.
      • new.tsxAdd a card: the card form with a live preview of its face.
    • doctorThe screens, one file per route (Expo Router).
      • [id].tsxA doctor: photo, name, specialty, rating, years and fee, About and where they see you; then video or clinic, a day and time, and the reason for the visit.
      • index.tsxSee a doctor: your next visit (if any), the specialties as stops that filter the list, then the doctors with their rating, years and fee.
    • offerThe screens, one file per route (Expo Router).
      • [id].tsxOne offer: a ticket with the service's glyph and the value big in amber, what it is and when it ends, the code to copy, the fine print, then Save to wallet (it applies by itself) and Use now, which opens the service.
    • orderThe screens, one file per route (Expo Router).
      • [id].tsxAn order: the drawn map with the courier gliding toward you, how long until it arrives, the four steps (confirmed, being prepared, on the way, delivered) filling in as it goes, the courier, what you ordered and where it's going.
    • payThe screens, one file per route (Expo Router).
      • [id].tsxThe amount: who you're paying, the amount as you type it on the keypad (each key gives it a little bump), a note, and what pays (the balance or a card, with what's available).
      • done.tsxPayment sent: the check pops in with one ring, the amount counts up, then who it went to and the reference.
      • index.tsxSend money: search by name or Pay ID, your favorites as a row of faces, then everyone.
    • rideThe screens, one file per route (Expo Router).
      • index.tsxBook a ride: the drawn map with your route, pick-up (where you are) and a drop-off from your saved places and addresses, then the ride types (seats, how far away, fare) to choose from.
      • track.tsxYour ride: the drawn map with the route drawing itself and the car gliding to where it is now; whether the driver is coming or how long to the drop-off (a filling bar); the driver and car with Call, Message and Share trip; Cancel ride before pick-up (asks, then refunds).
    • shopThe screens, one file per route (Expo Router).
      • [kind].tsxFood or Groceries: the places that deliver, with a search and filters (Under 25 min, Free delivery, Top rated).
    • storeThe screens, one file per route (Expo Router).
      • [id].tsxA store: its photo across the top, name, rating, delivery time and fee, then the menu (or aisles) by section.
    • txnThe screens, one file per route (Expo Router).
      • [id].tsxA transaction's own page on a phone (a tablet shows it beside the list in Activity): everything about it and what you can do next.
    • _layout.tsxThe root: loads the heading font, follows the phone's dark or light setting and stacks the screens.
    • addresses.tsxSaved addresses for rides and deliveries: add one, tap a row to edit it, or remove it from the edit sheet (with Undo).
    • appointments.tsxYour doctor visits, soonest first: who, when, video or clinic and why.
    • cart.tsxYour cart: the store, each item with a stepper (down to the bin), where to deliver (your saved addresses), a promo code to apply, and the items, discount, delivery and total counting to their new values.
    • index.tsxThe welcome screen, the app's first route: three pages to swipe (pay anyone, rides and food, care), each a drawing over its title, with dots that stretch for the page you're on, Skip, then Get started (sign up) and I have an account (sign in).
    • notifications.tsxNotifications: payments, orders, visits and offers, newest first.
    • offers.tsxOffers: cashback and money off across Marjoram, filtered by service (a gliding marker), each card opening its offer.
    • orders.tsxYour orders: what's on the way (with its step and a filling bar), then past orders, delivered or canceled.
    • scan.tsxScan & pay: a camera-style frame with four corner marks over a dark view (the same in both themes, like a camera).
    • settings.tsxSettings: which notifications you get, security (Face ID lock, hide the balance on open), round-ups, a note on dark and light, and help and the legal pages.
    • sign-in.tsxSign in: email and password (with show/hide), Remember me, Forgot password and the demo account to fill in with one tap.
    • sign-up.tsxSign up: full name, email and password (with show/hide and a strength bar that fills as you type), then the terms line.
  • componentsThe parts the screens are built from.
    • artThe drawings, as code: no image files.
      • plate-art.tsxThe drawing a store or dish shows until it has a photo: a plate seen from above on a soft two-color ground, with a few round shapes of food in the store's colors.
      • welcome-art.tsxThe welcome pager's three drawings, one per page: two people with money arcing between them (pay), a street with a route to a delivery bag (rides and food), and a calendar with a care cross (doctor).
    • homeThe parts the screens are built from.
      • hub.tsxHome's line of services, where the route from the balance drops in: a transit line running down past five stops (Pay, Ride, Food, Groceries, Doctor), each a ringed stop with the service's glyph, its name and line, and its own next time on the end (the ride's wait, the delivery time, the lowest fee) like a departures board.
      • live.tsxHome's one live card, shown only while something is moving: the order on its way (or, with none, the ride you booked) as a big card with a small map where the route line becomes its track, the minutes left as one big number, and its step.
      • route-hero.tsxHome's hero, straight on the night sky with no card: the station-sign label and the eye, the balance big in the heading face (it counts up and hides), how it moved this month, Add money, Send and Wallet as key caps, and the start of the app's one route line.
    • add-money-sheet.tsxAdd money: pick a linked card (frozen ones can't be used), pick or type an amount, and it lands in the balance with a line in Activity.
    • auth-frame.tsxThe sign-in and sign-up screens' frame: the Marjoram wordmark, a title and the form on a glass card, scrolling clear of the keyboard.
    • backdrop.tsxThe city behind every screen: at night a navy sky fading down with one faint cyan glow at the top end and the streets of a night map with a few lights along them; by day plain paper with the same streets printed faintly in ink.
    • badge.tsxLeading badges.
    • build.tsxOne block of a screen's "growth" entrance (MOTION.build in constants/motion.ts): from its first frame it is clear and 10pt low, then rises and fades in at its place in the order.
    • button.tsxThe app's buttons: `main` is the cyan pill with dark words and a soft halo, `quiet` a glass pill with the brand's words, `danger` a red-worded glass pill.
    • card-detail.tsxOne linked card in full: its face, Freeze card, what's spent of its monthly limit (a filling bar), its recent payments, Edit card (a sheet with the card form) and Remove card (asks first, then Undo).
    • card-face.tsxA linked card's face: a deep gradient in its tone (harbor, dusk, mint) with a bright rim, a soft light sweep, the card's name and type, the last four digits and its expiry.
    • card-form.tsxThe card form: a live preview of the face, then its name, (for a new card) the number, expiry and CVC, its type, color and monthly limit.
    • card-stack.tsxThe linked cards as a stack, each one's top edge showing above the next and the last one whole.
    • card.tsxA see-through card: the card color at part opacity over the backdrop, a fine light rim, a soft layered shadow, the brand's roundness and even padding.
    • cart-bar.tsxThe cart in progress, as a cyan bar floating at the bottom of the store screens: how many items, from where, the total, and View cart.
    • chip.tsxA pick-one chip (an amount, a card, a time slot, a place): cyan-tinted with a cyan rim when picked.
    • command-bar.tsxThe phone's navigation: a slim command strip floating off the screen's edges like a row of keys, with the big Scan key resting in a notch cut into its middle.
    • command-rail.tsxThe tablet's navigation: the command strip stood on its side, as long as what it holds and centred on the left edge.
    • confirm-sheet.tsxA sheet that asks before something can't be taken back (sign out, remove a card, cancel a ride): the question, the action in red or cyan, and a way out.
    • contact-sheet.tsxAdd or edit a contact: name, Pay ID and Favorite; an existing one can be removed too (with Undo).
    • empty.tsxWhat a list shows when it has nothing in it: an icon in a soft disc, a line saying so, a hint and, when there is one, the action that fills it.
    • field.tsxA text field with a line icon, one designed focus state on every platform (the rim turns cyan, same width, so nothing shifts), an optional show/hide eye for passwords and an error line under it read out by screen readers.
    • forgot-sheet.tsx"Forgot password?": a sheet that takes your email, checks it looks right, and then says where the reset link went.
    • glass.tsxA frosted glass panel for the few surfaces that blur what's behind them (the balance card, the tab bar, sheets): real blur on iOS and the web; on Android, where blur is still experimental, the same translucent tint unblurred, which is designed to look right on its own.
    • glyph.tsxEach service's own drawn glyph, all in one hand: a line drawing in the service's color with one filled accent shape.
    • heading.tsxA heading in the brand's heading font: `title` for a screen's title, `heading` for a card or sheet title, `display` for the one big number.
    • icon-button.tsxA round glass button holding one icon (back, close, bell, the eye), at least a full touch target.
    • icon.tsxMarjoram's line icons, drawn on one 24-point grid as ICON says (constants/theme.ts: round ends and a 1.7 stroke), so they read as one set.
    • key-cap.tsxA key cap, the same as the command strip's: a raised rounded square with a deeper lower edge, its icon over its name, pressing in under the finger.
    • keypad.tsxThe amount keypad: 1-9, a dot, 0 and delete in a 3 × 4 grid of glass keys that give under the finger.
    • ledger.tsxA ledger: rows on one card, ruled apart by hairlines like the lines of a printed timetable (no tile per row).
    • list-row.tsxOne row in a list card: a leading badge (an icon, an avatar), a title and a line under it, and something on the end (an amount, a chevron).
    • logo.tsxMarjoram's own mark: a rounded tile holding a marjoram leaf whose midrib runs on as a flow line out of the tile, with a dot where the money lands.
    • member-pass.tsxThe member pass on Profile, made like a transit pass: an ink card in both looks with the app's route line running across it to a ringed stop, the Marjoram mark and Verified, your photo, name and email, and your Pay ID big beside its code.
    • money.tsxAn amount in dollars that counts up from where it was to its new value (the balance, a cart total, a payment), easing out.
    • more-sheet.tsx"More" from Home's quick actions: every place in Marjoram in one list, each opening its screen.
    • nav-capsule.tsxThe picked tab's lit capsule: it pulls in to a single key cap, glides to the new tab and opens out again to show the tab's name.
    • nav-shape.tsThe command strip's measures and shape, shared by the phone's strip and the tablet's rail.
    • nav-tab.tsxThe pieces the phone's command bar and the tablet's rail share: each tab's icon, going to a tab, the tabs' spots on both sides of the Scan key, and one tab key: a small raised key cap in a 48pt target that glides to its spot (the picked one drops its cap and its icon sits lit at the head of the capsule).
    • offer-card.tsxOne offer as a ticket stub: the value big in amber on the stub, a perforated tear line with two punched notches, then the service's glyph, the title and its code and end date like a printed fare.
    • pay-id-sheet.tsx"Pay ID": your Pay ID with a copy button and your pay code, a drawn square of dots people scan to pay you.
    • photo.tsxA photo filling its box ("cover") with its focus point kept in view where the box crops it, the way CSS object-position does.
    • pressable-scale.tsxA Pressable that shrinks a little under the finger and springs back.
    • progress.tsxA thin bar that fills to its share (an order on its way, a card's monthly limit), easing out from where it was.
    • quick-fan.tsxThe quick actions fan, opened by holding the Scan key: the page dims and Send, Request, Add money and Book ride spring out of the key one after another along an arc (up on a phone, out toward the page on a tablet).
    • scan-key.tsxThe Scan key: a big rounded-square key in deep ink resting in the command strip's notch, with a scanner's four corner brackets and a soft cyan scan line lying still across its middle, and a cyan rim glow (the glow setting).
    • screen.tsxEvery screen's frame: the backdrop (unless the tabs already draw it) and the safe-area insets, so nothing sits under the notch, the status bar or the home indicator.
    • section-head.tsxA section's station sign: its name in small tracked capitals, a hairline running on to the end like a platform edge, and an optional "See all".
    • segments.tsxA row of choices (filters, video or clinic, ride types' days) with one cyan-tinted marker that glides under the chosen one, measured from each choice's own box.
    • sheet.tsxA bottom sheet over a dimmed screen (add money, a contact, a card's limit, sign out).
    • slot-picker.tsxPicking a visit time: the next days a doctor is free as chips, then that day's open times.
    • sparkline.tsxThe balance's last 30 days as one smooth line that draws itself from the left (its stroke offset, on the UI thread), with a soft wash under it fading in behind and a dot on today.
    • split.tsxA screen's two columns: side by side on a tablet (the first a little wider unless `lead` says otherwise), one under the other on a phone.
    • stepper.tsxA quantity stepper: minus, the count, plus.
    • store-card.tsxOne food place or grocery store in a list: its photo (or drawn plate), name, what it sells, rating, delivery time and fee.
    • street-map.tsxA drawn city map for tracking a ride or an order: soft blocks, a park and the harbor's edge, the route as one line that draws itself from the start, a pin dropping at each end, and the car (or courier) gliding along the route to where it is now (`at`, 0 to 1).
    • strip-shape.tsxThe command strip drawn: its body with a fine rim and a soft shadow under it, the notch's sunk socket and the notch's bevel (a dark cut edge and a lit line just inside it), for the phone strip and the tablet rail.
    • success-check.tsxThe success mark after a payment, an order or a booking: a cyan disc pops in past its size and settles, one ring spreads out from it and fades, and the check draws itself across.
    • toast.tsxThe note after an action ("Pay ID copied", "Card removed · Undo"): a glass badge with a cyan check that floats up above the tab bar, stays four seconds and fades away.
    • toggle.tsxA settings row's switch: a pill whose cyan fill grows in and whose thumb springs across.
    • top-bar.tsxA pushed screen's top bar: a round Back button, the title and an optional action on the end.
    • txn-detail.tsxOne transaction in full: its badge, title and amount, Completed, then the date, what paid for it, the note and the reference, and what you can do next (pay the person again, split it with a friend, share a receipt, report a problem).
    • txn-row.tsxOne transaction in a list: its service badge (or the person's initials), what it was and when, and the amount, green for money coming in.
  • constantsColors, sizes, motion and the brand defaults.
    • color.tsSmall color math for the shades that follow the brand colors.
    • motion.tsMotion settings shared by every animation: Marjoram's "precise flow".
    • theme.tsThe app's colors, the brand defaults and the sizes every screen shares.
  • hooksState and theme hooks.
    • store.tsA tiny store for the app's state: one value, changed with `update`, and read in components with useStore, which redraws them when it changes.
    • use-account.tsThe account: who is signed in (or that they signed out, which guards the signed-in screens, app/_layout.tsx) and the accounts made on this phone.
    • use-brand.tsThe brand settings: the values in constants/theme.ts.
    • use-care.tsDoctor appointments: book one (paid from the balance), change its time, visit type or reason, or cancel it (refunded).
    • use-count-up.tsA number that counts from where it was to its new value (calories, grams, steps), easing out over DRAW.
    • use-icons.tsHow the line icons are drawn (ICON in constants/theme.ts).
    • use-layout.tsPhone or tablet layout, from the window's width (not the device), so an iPad in Split View or a small Android tablet gets the layout that fits.
    • use-leave.tsA soft hand-off between screens that replace each other (sign in → Home, Profile → sign in): the screen fades out, then the next one comes in.
    • use-motion.tsThe app's moments (MOTION in constants/motion.ts): how parts come in, answer a press and leave.
    • use-now.tsThe time now, ticking every `every` ms while the screen is in focus, for screens that follow something live (an order on its way, a ride).
    • use-orders.tsFood and grocery orders: the cart (one store at a time) and every order placed, with where it is now worked out from the time it was placed.
    • use-prefs.tsSettings and saved addresses: which notifications to get, the app lock, round-ups, and the delivery addresses (add, edit, delete).
    • use-ride.tsThe ride on its way, if any: booked from the Ride screen, tracked on the drawn map, then finished or canceled.
    • use-scheme.tsDark or light, from the phone's appearance setting (app.config.ts sets userInterfaceStyle "automatic"); on the web, the browser's setting.
    • use-slide.tsA position that springs to each new target, except the first one it is measured at: there it starts in place, so the marker under the chosen tab or segment doesn't slide in from the edge when its screen opens.
    • use-still.tsWhether the app's own loops and plays stay still: the phone's "Reduce motion" is on, or MOTION.reduce is Always (constants/motion.ts).
    • use-theme.tsThe palette of the current theme and the styles that depend on it and on the brand, built once per brand and theme and shared by every component.
    • use-toast.tsA short note at the bottom after an action ("Glass added"), with an optional Undo.
    • use-visit.tsxCounts each visit to a tab, so a tab's screen builds up again every time it is opened, not only the first time (constants/motion.ts).
    • use-wallet.tsThe wallet: the balance (and whether it's hidden), linked cards, the people you pay and every transaction.
  • dataEvery word and product the app shows.
    • care.tsThe Doctor service: specialties, the doctors you can book and the open times each offers, and the appointments already on the calendar.
    • copy-account.tsThe words of the money and account screens: Wallet, cards, Profile, settings, addresses and notifications.
    • copy-services.tsThe services' words: Pay, Scan, Ride, Food and Groceries, orders, Doctor and Offers.
    • copy.tsEvery word the screens show, so a buyer changes them in one file (the services' words are in data/copy-services.ts).
    • money.tsThe wallet's sample money: the balance, linked cards, the people you pay and the last two weeks of activity.
    • offers.tsThe offers on the Offers screen and Home: each for one service, with a code to copy or apply and the date it ends (days from now).
    • photos.tsThe real photos (Unsplash stand-ins, free license; credits in README.md).
    • rides.tsThe Ride service: ride types with their fares, saved places, the driver who takes the trip and the drawn map's route (points on a 0-100 grid).
    • stores.tsThe food places and grocery stores, each with its menu or aisles: one line per item (id | section | name | price in cents | description, and a * for popular).
    • table.tsReads the small tables the data files keep their long lists in: one row per line, cells split by "|" and trimmed, blank lines skipped.
    • user.tsThe signed-in person and the demo account that always works on the sign-in screen.
  • pluginsBuild settings Expo has no option for.
    • night-window.tsAndroid's window color (behind the screens) for a phone in dark mode.
  • assetsThe photos the screens show.
    • photosThe photos the screens show.
      • marjoram-avatar.jpgA photo the app shows.
      • marjoram-bakery.jpgA photo the app shows.
      • marjoram-burger.jpgA photo the app shows.
      • marjoram-dr-amara.jpgA photo the app shows.
      • marjoram-dr-chen.jpgA photo the app shows.
      • marjoram-dr-lewis.jpgA photo the app shows.
      • marjoram-dr-okafor.jpgA photo the app shows.
      • marjoram-dr-rivera.jpgA photo the app shows.
      • marjoram-fruit.jpgA photo the app shows.
      • marjoram-greens.jpgA photo the app shows.
      • marjoram-grocer.jpgA photo the app shows.
      • marjoram-market.jpgA photo the app shows.
      • marjoram-pizza.jpgA photo the app shows.
      • marjoram-ramen.jpgA photo the app shows.
      • marjoram-sushi.jpgA photo the app shows.
      • marjoram-tacos.jpgA photo the app shows.

README.md

How to run it, change it and ship it.

Laden…
Goed voor
Fintech startups, banks and city super apps that want one wallet app for payments, rides, delivery and care on iOS and Android.
Hoe het werkt
Check your balance, send money by keypad or code, book a ride and watch it come, order food or groceries, and book a doctor visit.
Hoe je het gebruikt
Run it in Expo Go, change the words in data/copy*.ts, the stores, doctors and money in data/, and colors in constants/theme.ts, then build with EAS.