Back to projects
Fullstack Multi-App · Capstone

TrackIt

End-to-end logistics auditability and delivery tracking platform

Year
2025
Source
Open Source
Role
Solo engineering (API, Web dashboard, Mobile app, and relational schema)
ARCHITECTURE // TRACKITTYPED FULLSTACK · JEST
WEB DASHBOARDNext.jsAuditoria & DespachoDRIVER APPReact NativeRotas em CampoMODULAR APINestJS + TSRegras & AuditoriaJest IntegrationNATIVE FETCHMaps & BrasilAPIRotas · Distância · CNPJRELATIONAL DBMySQL (DER)Trilha de Entregas
END-TO-END SOLO BUILDZERO EXTRA HTTP DEPS

Context & problem

Delivery operations often lose auditability between back-office dispatch, field driver routes, and recipient verification. TrackIt unifies web dispatch and mobile execution over one typed API and normalized relational database.

NestJSNext.jsReact NativeTypeScriptMySQLGoogle Maps APIJest

System architecture

Select any layer to inspect responsibilities, protocol, and stack.

4 layers
Web & MobileREST / JSONNext.js • React Native

Next.js admin dashboard for audit tracking and React Native mobile app for drivers on the road.

Technical decisions & trade-offs

Decision 01

Native Node.js `fetch` for BrasilAPI instead of `axios`

Why

Cuts external dependencies for straightforward HTTP integrations and makes boundary mocking in Jest cleaner.

Trade-off & mitigation

No built-in interceptors or automatic non-2xx throwing; handled with explicit response checks and a small wrapper.

Decision 02

Modular NestJS backend serving both Web and Mobile clients

Why

Keeps audit rules, validation, and TypeScript contracts cohesive in one backend suited for solo end-to-end delivery.

Trade-off & mitigation

Scales as a single deployment unit; offset by strict domain module boundaries and avoiding premature microservice overhead.

Decision 03

Jest integration tests with mocked external API boundaries

Why

Validates routing and lookup flows deterministically without network flakiness or burning Google Maps quota.

Trade-off & mitigation

Upstream contract changes are only caught in live checks; mitigated by strict DTO validation at the integration boundary.

Delivery scope

  • Solo end-to-end engineering across NestJS backend, Next.js web dashboard, and React Native mobile app
  • Normalized MySQL relational schema documented via Entity-Relationship Diagram (ERD)
  • Driver routing, distance, and destination flows powered by Google Maps API with Jest integration tests
  • CNPJ recipient verification via BrasilAPI using native Node.js `fetch` with zero external HTTP dependencies

Next case study

Look4

Suspicious URL scanner and redirect chain tracer for GNOME / Linux