Japan Travel Planner
A Japan itinerary planner that brings trip editing, reusable templates, yen cost summaries and printable plans into one responsive application.
A full-stack application that began as a WGU software engineering capstone and evolved to include reusable planning content, filtering, responsive themes and English/Japanese interface support.
At a Glance
- Distinguishing Approach
- A shared itinerary model connects account-based editing, reusable templates, cost summaries and filtered print output.
- Role
- Product direction / Architecture / Implementation / Code review
- Implementation
- Manual and AI-assisted development
- Current State
- Complete
Completed full-stack application deployed on Render, with account-based trip editing, reusable plans, printable itineraries and English/Japanese interface support.
Ownership and Review
The original school-project application was completed manually without AI. Later enhancements used AI assistance, with revisions, decisions and architecture directed and reviewed throughout the work.
Frontend lint, 72 frontend tests, 25 backend unit tests and the frontend build pass, and CI passed. Authenticated production workflows have not been tested end to end.

Organize plans without losing their context
A trip combines activities, accommodation and transport, each with different details, but travelers plan them together and revisit them as dates, costs and routes change.
The planner keeps those item types in one itinerary while letting travelers group, filter, duplicate and reuse their plans.
Keep a trip's working details together
Trips combine activities, lodging and transportation in an account-based itinerary. Date and location grouping, search, yen cost summaries and print output offer several ways to work with the same data, and public templates, private reusable trips and saved items avoid starting each plan from scratch.
It began as a WGU software engineering capstone, built without AI and preserved under the capstone-v1.0 tag (September 1, 2026). Later iterations added filtering, mobile and dark-theme refinements, localization, reusable planning content, login limiting and deployment tooling.


Key decisions
Package the client and API under one origin
Decision
The Docker build compiles the React frontend into Spring's static resources and packages the application in one non-root JVM container.
Rationale
A single origin for the interface and API simplifies the browser's session-cookie and CSRF integration.
Tradeoffs
Frontend and server releases are coupled into one deployment.
Separate interface translation from personal trip content
Decision
Interface resources and curated public templates support English and Japanese. User-entered content stays in the language it was written in.
Tradeoffs
Translation quality and completeness have not been independently reviewed.

Keep account boundaries in the service layer
The browser loads the React interface and sends authenticated requests to Spring. Services enforce ownership before reading or writing trips and templates through JPA repositories in PostgreSQL. Flyway manages database changes; a Docker build packages the client into Spring's static resources.
- Browser / React interface
- connects to Spring controllers and securitySession and CSRF headers
- Spring controllers and security
- connects to Trip, item and template servicesValidated operations
- Trip, item and template services
- connects to Spring Data JPA repositoriesOwnership checks
- Spring Data JPA repositories
- connects to PostgreSQLRead and write
- PostgreSQL
- Flyway migrations
- connects to PostgreSQLSchema migrations
- Docker build
- connects to Client files served by SpringBuild and package
- Client files served by Spring
- connects to Browser / React interfaceDeliver interface
The React client sends session-based requests to Spring controllers. Validated operations pass through services and account-scoped repository access before reaching PostgreSQL, and Flyway versions database changes.
Protect account-owned plans across request boundaries
Challenge
Public templates must be readable without an account, while trips, private templates and saved items belong to one user and must never be reachable through another account or a forged request.
Response
Spring Security permits anonymous template reads and requires authentication for everything else. Services use the authenticated username instead of an owner value sent by the client, CSRF tokens protect cookie-authenticated mutations, passwords use BCrypt, and login limiting constrains repeated failures.
Current Result
Mocked service tests reject access to another user's resources. Known gaps: the login path does not rotate the session ID or CSRF token, and filter-chain tests for missing CSRF are not yet written.
Engineering details
The client-side filter pipeline, the full security model, responsive and theme behavior, and how the application is tested.
Read Implementation Details
Text search and structured filters narrow the itinerary by date, location, item type, cost and transport mode in filterItineraryItems. Cost summaries and print output use the visible filtered view, which a print-component test checks.
Login stores the authenticated security context in a server session; the session cookie is HttpOnly, and the CSRF cookie is readable by JavaScript so the API client can send its header. Item operations check membership in the owned trip. DTO and service validation cover required values, date order and cost rules, with stable error codes. Login limiting tracks failures per username and client IP in bounded, expiring caches (five username or 25 IP failures in 15 minutes); that state is per process and resets on restart. Protected API namespaces are listed explicitly, so a new API boundary needs deliberate review.
The client includes responsive layouts, light and dark themes, focus styles and reduced-motion rules. Public templates are instantiated from date offsets.
Frontend lint, 72 Vitest tests and the Vite build pass; 25 backend tests in nine classes pass on Java 21, mostly against mocked services rather than a full Spring security or database environment. The landing, library, public template and health endpoints of the deployed application responded as expected when checked; authenticated production workflows, accessibility conformance and field performance have not been tested end to end.
export function filterItineraryItems(items, query, filters) {
const normalizedQuery = normalize(query.trim());
return items.filter((item) => {
if (!matchesSearch(item, normalizedQuery)) {
return false;
}
if (filters.dateFrom && (!item.date || item.date < filters.dateFrom)) {
return false;
}
if (filters.dateTo && (!item.date || item.date > filters.dateTo)) {
return false;
}
if (
filters.locations.length > 0 &&
!getItemLocations(item).some(
(location) => filters.locations.includes(location)
)
) {
return false;
}
if (
filters.itemTypes.length > 0 &&
!filters.itemTypes.includes(item.itemType)
) {
return false;
}
const costStatus = item.costStatus || "UNKNOWN";
if (
filters.costStatuses.length > 0 &&
item.cost !== null &&
!filters.costStatuses.includes(costStatus)
) {
return false;
}
if (filters.minCost !== "") {
if (item.cost === null || Number(item.cost) < Number(filters.minCost)) {
return false;
}
}
if (filters.maxCost !== "") {
if (item.cost === null || Number(item.cost) > Number(filters.maxCost)) {
return false;
}
}
if (
filters.transportationTypes.length > 0 &&
item.itemType === "Transportation" &&
!filters.transportationTypes.includes(item.transportationType)
) {
return false;
}
return true;
});
}Result
A complete full-stack application: account-based itineraries with grouping, filtering, yen cost summaries and printing, plus public templates and private reuse, in English and Japanese, light and dark, on desktop and mobile.
It grew from a manually built capstone into a deployed application, with a React client and a Spring API in one container on Render, backed by PostgreSQL and Flyway migrations.