MVP Web + App (Expo) — Finanças a Dois#5
Draft
Copilot wants to merge 6 commits intomvp-web-app-expofrom
Draft
Conversation
Co-authored-by: rafaelgarbinatto <1371016+rafaelgarbinatto@users.noreply.github.com>
Co-authored-by: rafaelgarbinatto <1371016+rafaelgarbinatto@users.noreply.github.com>
Co-authored-by: rafaelgarbinatto <1371016+rafaelgarbinatto@users.noreply.github.com>
…compatibility Co-authored-by: rafaelgarbinatto <1371016+rafaelgarbinatto@users.noreply.github.com>
Co-authored-by: rafaelgarbinatto <1371016+rafaelgarbinatto@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement end-to-end MVP for Finanças a Dois
MVP Web + App (Expo) — Finanças a Dois
Nov 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
End-to-end MVP for shared financial management: pnpm monorepo with Next.js 14 PWA (App Router, NextAuth magic link, Prisma), Expo mobile app (offline queue, NetInfo sync), and shared Zod schemas.
Architecture
Monorepo Structure
packages/shared: Zod schemas, TypeScript types, utility functions (currency/date/RFC7807)apps/web: Next.js 14 App Router, Prisma (SQLite), NextAuth Email provider, PWAapps/mobile: Expo 50, React Navigation bottom tabs, AsyncStorage offline queueDatabase (Prisma + SQLite)
Web App
API Routes (
/api/v1/)POST /auth/magic-link,GET /auth/callback,GET /meIdempotency-Keyon POST,If-Matchon PATCH/DELETEPOST /onboarding/activatecreates family, categories, seed transactionsPages
PWA:
manifest.webmanifest+sw.js(network-first for/api, cache-first for assets)Mobile App
Offline Support
Screens: Dashboard (mirrors web KPIs), NewTransaction (offline banner if disconnected), History (filter chips)
Seed Data
Migration + seed script creates:
rafael@example.com(OWNER)Setup
Requires
EMAIL_SERVERandEMAIL_FROMinapps/web/.env.localfor magic link auth.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
checkpoint.prisma.io/usr/local/bin/node /home/REDACTED/work/finance/finance/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/build/child {"product":"prisma","version":"5.22.0","cli_install_type":"local","information":"","local_timestamp":"2025-11-08T00:35:32Z","project_hash":"c1a373f1","cli_path":"/home/REDACTED/work/finance/finance/apps/web/node_modules/prisma/build/index.js","cli_path_hash":"0b21fa27","endpoint":"REDACTED","disable":false,"arch":"x64","os":"linux","node_version":"v20.19.5","ci":true,"ci_name":"GitHub Actions","command":"generate","schema_providers":["sqlite"],"schema_preview_features":[],"schema_generators_providers":["prisma-client-js"],"cache_file":"/home/REDACTED/.cache/checkpoint-nodejs/prisma-0b21fa27","cache_duration":43200000,"remind_duration":172800000,"force":false,"timeout":5000,"unref":true,"child_path":"/home/REDACTED/work/finance/finance/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/build/child","client_event_id":"","previous_client_event_id":"","check_if_update_available":true}(dns block)/usr/local/bin/node /home/REDACTED/work/finance/finance/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/build/child {"product":"prisma","version":"5.22.0","cli_install_type":"local","information":"","local_timestamp":"2025-11-08T00:36:22Z","project_hash":"c1a373f1","cli_path":"/home/REDACTED/work/finance/finance/apps/web/node_modules/prisma/build/index.js","cli_path_hash":"0b21fa27","endpoint":"REDACTED","disable":false,"arch":"x64","os":"linux","node_version":"v20.19.5","ci":true,"ci_name":"GitHub Actions","command":"migrate deploy","schema_providers":["sqlite"],"schema_preview_features":[],"schema_generators_providers":["prisma-client-js"],"cache_file":"/home/REDACTED/.cache/checkpoint-nodejs/prisma-0b21fa27","cache_duration":43200000,"remind_duration":172800000,"force":false,"timeout":5000,"unref":true,"child_path":"/home/REDACTED/work/finance/finance/node_modules/.pnpm/prisma@5.22.0/node_modules/prisma/build/child","client_event_id":"","previous_client_event_id":"","check_if_update_available":true}(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.