Oğuz Erol B2B Custom Web App System Blueprints
04 / 04 All Blueprints (4) Custom Web Apps Türkçe

From Shared Spreadsheets to a Multi-User Server Web App & Role Shield

Not every spreadsheet warrants custom software. A candid 4-way architectural decision gate, the transition from floating files to a PostgreSQL database role shield, and a five-step parallel cutover blueprint.

1. Candid 4-Way Decision Gate: When to Stay in Spreadsheets vs. Build Custom

Weigh all four paths against per-user licensing, field privacy, and multi-source reconciliation before commissioning a custom build.

Excel / OneDrive / Sheets Sharing

Stay in Spreadsheets
Small team where everyone may see every column without secret margins.
Cell or range protection and built-in version history cover daily needs.
No row-level privacy or multi-step formal approval trail required.
Cost: Existing licenceData lives: Inside the file / shared sheet

Spreadsheet Add-in / No-Code (AppSheet, etc.)

Simple Forms & Calculators
Publishes an existing .xlsx calculation sheet or table quickly as a web form.
Carries a monthly per-user licence fee that grows with headcount.
Hits limits on 4-way reconciliation and database-enforced field hiding.
Cost: Monthly per userData lives: Connected sheet / vendor cloud

Off-the-Shelf Software (Stock / CRM)

Use Off-the-Shelf
Best fit when your workflow naturally matches the product's built-in assumptions.
If adaptation is needed, compare licence, setup, upkeep, and workflow shift.
Field permissions stop wherever the vendor's settings panel stops.
Cost: Monthly per userData lives: On the vendor's servers

Custom Server Web Application

Custom Build (0 Per-User Fee)
Row/column database privacy, immutable change logs, and multi-stage approvals.
Multi-source reconciliation across expenses, corporate cards, and bank/POS feeds.
Zero per-user licence fee; data, source code, and VPS remain under your control.
Cost: Build + VPS & upkeepData lives: Your own PostgreSQL server

2. From Scattered Files (_FINAL_v2.xlsx) to a PostgreSQL Database Role Shield

Replacing workbook copies passed over email and WhatsApp with one server database where permissions and rules hold at the database layer.

4 Failure Modes in Shared Files

Floating Copies
orders_FINAL_v2(1).xlsxWhatsApp_Copy.xlsxEmail_Attach_v3.xlsx
Latest-Version ChaosCopies named orders_FINAL_v2(1).xlsx leave teams guessing which sheet is live.
Silent Formula BreakageTyping a plain number over a formula corrupts totals quietly for weeks.
Exposed Confidential ColumnsThe warehouse sees unit costs; field reps see customer discount rates.
Lost Approvals & Wrong RowsSign-offs stay buried in email/WhatsApp; phone edits land in the wrong row.

VPS + PostgreSQL Core

Single Source of Truth
Browser / Mobile Request (HTTPS) PostgreSQL Role Shield & Rule Gate Field Policy (SQL) Warehouse: no unit price Quantity Rule 70 > 60 → REJECT Audit: who · when · old → new Tested Daily Backup + CSV
Permissions in PostgreSQL: Even if a UI screen has a bug, the DB refuses unauthorized reads/writes.
Rule enforcement: Entering 70 delivered against a 60-unit order is rejected immediately.
10+ concurrent writers: Database queues simultaneous writes without overwriting rows.
Immutable audit trail: Every edit records who · when · old → new value permanently.
HTTPS, restore-tested daily backups, and one-click full Excel/CSV export.

Role-Scoped Screens (5 Roles)

Field-Level Access
SalesQty & Quoting
Enters order quantities and quotes within band; unit cost absent.
FieldMobile Form & Receipt
Single-screen phone form and receipt upload; locked to own unit.
WarehousePrice-Hidden Dispatch
Logs delivered units (≤60); unit price column shows 'no access'.
AccountingPrice, Ledger & Lock
Maintains prices, card/POS matching, and period locks; no silent edits.
ManagementApproval Queue & Brief
Reviews approval queue, unresolved variances, and full change log.

3. Zero-Downtime 5-Step Parallel Migration & Cutover Blueprint

We never shut down the spreadsheet overnight; Excel moves to a read-only archive only after parallel runs reconcile 1:1 with app totals.

01

Read Sheet & Unwritten Rules

Extract input vs formula columns ('turn red below 10'), color-coded decisions, and unwritten exceptions; map every role and field.

Output: Role & field spec
02

Flag Questionable Rows

Surface duplicate customer spellings, prose dates ('last Tuesday'), and overwritten totals in a separate review queue without guessing.

Output: Verified clean import
03

V1 on Real Data Copy

Launch on the VPS around the single highest-friction workflow with real user logins and a copy of production spreadsheet data.

Output: Focused live V1
04

Side-by-Side Parallel Run

Operate alongside Excel until totals reconcile across weeks; catch formula discrepancies safely while full rollback stays open.

Output: 1:1 total parity
05

Cutover Day & Archive

Once totals match 1:1, Excel becomes a read-only archive (never deleted) and the server app becomes the single source of truth.

Output: Single live source