Random Trips
- Client
- Travel experiences platform
- Role
- Architecture & full-stack
- When
- 2026 — Present
The whole platform behind randomtrips.co: public site, tour bookings with PayPal, a content CMS, an admin panel and a digital passport that collects a badge for every trip.
Clients
Edge
Compute
Data & services
Built with
- AWS CDK
- TypeScript
- Lambda
- DynamoDB
- Cognito
- CloudFront
- SES
- Next.js
- Amplify
Key decisions
- 01Payments are never trusted to the browser: the order total is recalculated server-side and the PayPal capture is idempotent, locked in the same DynamoDB transaction as the booking.
- 02One single-table DynamoDB design serves bookings, tours, travelers and badges; a traveler's whole passport loads in one query.
- 03Passwordless email OTP on Cognito for the CMS, and private S3 media served only through CloudFront with Origin Access Control.
- 04One AWS account per environment and a 34-route API documented in OpenAPI 3.1 as the single source of truth.
