Own product · SaaS / Case 01
OpsNexo.
Management software for transport and logistics companies: shipments, CMR and DeCA, fleet, docks, warehouse and VeriFactu invoicing. A single cloud application with an isolated database for each company.
- lines of Python
- ~38,500
- HTTP endpoints
- 379
- HTML templates
- 106
- SQLite tables
- ~100
- automated tests
- 1,000+
- subscription plans
- 5
01 / Context
The starting point.
Many small and mid-sized transport companies run shipments, consignment notes, fleet and invoicing across Excel, paper and disconnected tools — while having to meet obligations such as the Spanish DeCA, the stamped CMR as proof of delivery and VeriFactu invoicing.
02 / My contribution
From analysis to practice.
An own product built on what I learned with ALH Workspace. I refocused it entirely on transport and turned it into a multi-company SaaS. Design, development, security, pricing model and deployment, single-handedly.
Model the real business
Transport rules expressed in code: a shipment can only be invoiced with a stamped CMR, and its status changes in one single place.
Build a secure building
One database per company, a central access database and tests that sweep every route to guarantee no company sees another’s data.
Get ready to sell
Signed-licence plans, access control based on payment status, Stripe billing and Docker container deployment.
03 / Scope
What it solves.
The whole life of a shipment, from the customer’s request to the paid invoice.
Shipments
Full lifecycle (draft, loaded, in transit, delivered, invoiced) with rules that prevent invalid jumps and record every step back.
Value: Nothing is invoiced without proof of delivery.
CMR, DeCA and manifests
CMR consignment notes, DeCA for domestic transport with QR, loading orders and manifests that group shipments. The stamped CMR is uploaded from a phone.
Value: Correct transport documents in seconds.
Loads, fleet and costs
Trucks, trailers and drivers with alerts, loads and stops, carriers, rates, a cost calculator and real margin per shipment.
Value: Know what each trip actually earns.
Docks and warehouse
Dock booking with a planner, a 3D warehouse view and a booking portal for external carriers via signed links.
Value: Orderly unloading without calls or waiting.
VeriFactu invoicing
Invoices, credit notes and payments with chained VeriFactu hashes, credit-limit alerts and payment exports.
Value: Invoicing ready for Spanish regulations.
Management dashboard
Revenue excluding VAT, year-end estimate, annual target and team, plus a personal dashboard for each operator. Excel import and a daily email summary.
Value: Decisions based on today’s data.
04 / Outcome
What it delivers.
A single application serving many companies, each with isolated data, its own plan and its own access.
- Truly multi-company: each company has its own database and files.
- Security by design: Argon2id, mandatory 2FA for admins, revocable sessions and auditing.
- 1,000+ automated tests, including isolation between companies.
- Built-in compliance: DeCA, CMR, VeriFactu and GDPR tools.
05 / Skills
What it shows.
- SaaS architecture
- Multi-company with one SQLite database per client, a central access database, an audited support superadmin and an optional self-hosted install.
- Backend / API
- Python and FastAPI, 379 endpoints, isolated domain logic and versioned migrations with an automatic backup first.
- Security
- Argon2id, TOTP 2FA, revocable sessions, access auditing, Ed25519-signed licences and signed links for third parties.
- Payments
- Stripe integration: signature-verified, idempotent webhooks and access driven by payment status.
- Regulation
- Spanish DeCA (Order FOM/2861/2012), CMR, VeriFactu and GDPR (personal data export and anonymisation).
- DevOps
- Docker, GHCR image, CI with GitHub Actions, one-command client onboarding and deployments with automatic rollback.
- Quality
- 1,000+ pytest tests, including end-to-end tests against a real server.
Let's keep the conversation going