Logistics Management Platform
Shailshuta Logistics
A logistics management platform for shipment tracking and customer operations. The work centred on the API and data layer: 20+ REST endpoints, a Prisma/PostgreSQL schema, and JWT authentication with route-level role checks.
Client work — source is under NDA.
- Full Stack Developer Intern
- Client work · TechPlek Technologies
- Dec 2025 — Jun 2026
Scope
- Shipment management
- Shipment tracking
- Customer operations
- JWT + RBAC
- REST API
- Linux deployment
Problem
Shipment tracking and customer operations needed a consistent API and a relational source of truth. Admin and customer surfaces also needed to be scoped by role rather than relying on the UI to hide actions.
Approach
Built REST endpoints in Node.js and Express.js for shipment tracking and customer operations. Prisma models the PostgreSQL schema. JWT authentication and route-level middleware enforce role-based access to endpoints and dashboard views. The services run on Linux staging under PM2 with log rotation and error alerts.
Architecture
A React and TypeScript client calls an Express REST API. Route-level middleware validates the JWT and checks the caller's role before a controller runs. Prisma handles PostgreSQL access, and the Node.js services are supervised by PM2 on Linux staging with log rotation and error alerts.
- React
- TypeScript
- Dashboard views
- Node.js
- Express.js
- REST
- JWT + RBAC middleware
- PostgreSQL
- Prisma
- Shipment records
- Customer operations
- Linux staging
- PM2
- Log rotation
- Error alerts
Key decisions
PostgreSQL + Prisma for shipment data
Shipment and customer records are relational. Prisma keeps the schema explicit and the query layer typed instead of spreading raw SQL across controllers.
Authorization at the route level
JWT validation and role checks live in middleware, so an endpoint is protected even when it is called directly rather than through the dashboard.
PM2 on Linux staging
PM2 provides process supervision and a predictable restart path for the Node.js services during staging deployments.
Make failures visible
Log rotation keeps logs manageable, and error alerts surface service failures instead of relying on someone checking a terminal.
Challenges & solutions
Role checks had to hold across endpoints and dashboard views.
Applied JWT and role checks in route-level middleware, then verified each surface against the role it was meant to serve.
Shipment and customer data span multiple related records.
Modelled the relationships in Prisma and kept the API responses shaped around the operations the dashboards actually perform.
Staging services needed to stay observable.
Ran Node.js services under PM2 with log rotation and error alerts so failures were visible without manual log checks.
REST endpoints needed consistent behaviour.
Kept request handling and validation close to the route, with Prisma queries isolated in the data layer.
Outcomes
- Built 20+ REST API endpoints for shipment tracking and customer operations.
- Implemented JWT authentication and role-based access control with route-level middleware.
- Protected endpoints and dashboard views according to user roles.
- Deployed and monitored Node.js services on Linux staging using PM2.
- Configured log rotation and error alerts for service visibility.
Stack
- React
- TypeScript
- Node.js
- Express.js
- PostgreSQL
- Prisma
Links
Client work — source is under NDA.