Skip to content
Own product · In development · 2026 in development

Tutoreli

The independent teacher’s desk: schedule, lesson credits, charges and lesson notes in the app, with a browser portal for students and guardians.

Role
Product, design and development
When
November 2026, ongoing
Team
Solo, with AI agents on the code
Status
In development, not published yet
Student balance with 5 lessons to go and a statement of every package movement
Tutoreli Today screen with the next lesson in 40 minutes and four illustrated shortcuts
Family portal in the browser with a completed step, next lesson, balance and learning path
01. Context

How Many Lessons Are Left in the Package?

Teacher app, an eight-lesson statement and a family portal showing content published for each person. Tutoreli is in development.
From schedule to portal, every lesson has a record.

A package of eight lessons, one absence, one reschedule, one holiday. Two weeks later nobody knows how many lessons are left, and the talk with the family turns into an argument. Private teachers track this in spreadsheets and messages, where attendance, credit, charge and payment blur into one thing.

Tutoreli keeps the four apart. The teacher uses the app. Students and guardians open a portal in the browser, with nothing to install, and see only what was published to them. The teacher can also have a public page that receives lesson requests.

The challenge

Build a balance anyone can check, show families only what the teacher chose, and lose nothing when the connection drops, with data from minors in the mix.

02. Decisions

The Choices That Shaped the Product

  1. 01

    A Credit Statement, Not a Counter

    Each package becomes a grant, each lesson holds at most one credit, and every movement goes into an append-only journal. Rescheduling keeps the same credit: no new lesson, no new charge. The statement shows where each lesson came from and where it went.

  2. 02

    The App Asks, the Server Decides

    Lessons, credits and money go in as requests in a queue. The server applies them in a transaction and recognizes a repeated request, so a lost response never uses up two lessons. The screen shows what is confirmed and what is still pending.

  3. 03

    Consequences Before the Button

    Before approving a reschedule, the screen says what happens to the credit, whether a charge is created and who gets notified. The teacher decides knowing it, instead of finding out later.

  4. 04

    Clashes Block, the Rest Warns

    Two lessons at the same time are refused in the app and on the server, because they would reserve two credits. Outside working hours or with a short break, the app only warns: the schedule belongs to the teacher. A group counts as one lesson.

  5. 05

    Access Per Person, Not Per Student

    Two guardians of the same student have separate access, and one of them may see only the learning side. The portal never reads the database directly: the server sends a view built for that person, and revoking takes effect on the next read.

  6. 06

    Public Page Away from Private Data

    The portfolio comes from a copy with a closed list of fields, rendered as HTML on the server. The lesson request works without JavaScript and reaches the app as a lead, who can become a student.

03. On mobile

The Teacher’s Day and the Family Portal

The app opens on today: the next lesson, what still needs a record and what calls for a decision. On the other side, the family sees the next lesson, the balance, the learning path and the assignments in the browser.

  1. 01 Today. The day opens on the next lesson, with direct access to the call and shortcuts the teacher picks.

  2. 02 Balance. The balance with its statement: three done, one reserved, four free, and the reason for each line.

  3. 03 Series. Before booking the series, every date is checked: the one that clashes locks the button until it is removed.

  4. 04 Record. Recording a lesson on one screen, choosing who will see the summary.

  5. 05 Reschedule. A request that came from the portal: two suggested slots and the consequence before approving.

  6. 06 Portal. The portal in the phone browser: next lesson, balance, learning path and the teacher’s note.

  7. 07 Public page. The public page, with experience marked as self-declared and the lesson offers.

04. Engineering

Under the Hood

Lesson balance, money and children’s data call for rules on the server and tests that look for the case nobody thought of.

Stack

  • React Native 0.88
  • Expo SDK 58
  • TypeScript
  • Reanimated 4
  • Firebase
  • Cloud Functions
  • Next.js 16
  • Zod
  • GitHub Actions
Shared rules connect app and server, followed by protected writes, single-use links, 600 test sequences and a CI gate.
Five code safeguards, from shared rules to CI.

Safeguards

  • Credits, charges and payments are written only by the server; database rules refuse direct writes from the app
  • A correction is a reversal with a reason: no movement is ever deleted
  • Single-use invitations and access links, stored only as hashes
  • Files sent through the portal stay in a separate area and have their type checked by content
  • Account deletion with 7 days to change your mind; portal and public page go offline at once
  • Android automatic backup turned off, so student data does not leave the app’s control

Tests and Quality

  • Jest
  • Vitest
  • fast-check
  • Firebase Emulator
  • Playwright
  • axe
  • Credit engine tested with 600 random sequences of actions: the balance always adds up and a refusal never changes the state
  • Database and file rules with 33 cases on the emulator, covering who can and who cannot
  • Six end-to-end scripts on the emulator, one of them with a lesson booked offline that syncs when the network is back
  • Backend reviewed by another model before the gate: in account deletion, the review found 6 race conditions that 106 green tests missed
05. Inside the code

What You Would See in the Repository

The code is private. Here is what is in it, with the path or number that backs each point, as a script for a technical conversation.

Architecture

  • pnpm monorepo

    apps/mobile · apps/web · functions · packages/shared

    Teacher app, portal site, server and a shared package of rules in the same repository.

  • Shared pure rules

    packages/shared/src/domain

    Credits, schedule and money are functions that read no clock, network or database. The app shows what is pending and the server confirms it with the same code.

  • Idempotent requests

    commands · 22 types

    Each request has its own id and a content hash. Repeated, it returns the same result; with changed content, it is refused.

  • TypeScript at its strictest

    tsconfig.base.json

    strict with noUncheckedIndexedAccess and exactOptionalPropertyTypes, and no lint warning tolerated.

Tests

  • Property testing

    fast-check · credits.test.ts

    Instead of hand-picked examples, randomly generated sequences run against the invariants of balance and schedule clashes.

  • Server against the emulator

    functions/test · 6 files

    Requests, finance, portal, public page and account run in integration tests with the Firebase Emulator.

  • Contrast as a test

    theme.test.ts

    Color pairs in the light and dark themes must pass the minimum contrast, or the test fails.

  • Accessibility in the script

    Playwright · axe

    axe runs inside the end-to-end scripts and has already caught a selector that screen readers could not make sense of.

Process

  • Decisions with a reason

    26 decisions · docs/decisoes.md

    Each decision records why, the discarded alternative and when to revisit it. A change of mind becomes a new one.

  • Spec before code

    20 PRDs · docs/prd

    One document per major feature. The credit engine spec failed an independent review and was rewritten before the first line of code.

  • CI gate

    GitHub Actions · knip · gitleaks

    Formatting, lint, types, tests and dead code on every push, with rules and secret scanning in separate jobs.

06. Today

Where It Stands

In development, not published yet. Everything runs on emulators and in a preview with sample data; the real Firebase project and the first native build do not exist yet.

Done in code: schedule and credits, portal, finance, learning path and assignments, public page, spreadsheet import, support and account deletion. Plans with limits are being built, and AI help to draft learning paths is only on paper.

Still to come: the real environment, the build with notifications and offline cache on the phone (today it is tested only in the browser), the legal review of the terms and a pilot with teachers before the stores.

Next step

Have a Similar Project in Mind?

I like problems with real people on the other side. Tell me what you need.