RAÍCES — Discover Campeche: Engineering a Cultural Web Experience with Angular 22 and Cloudinary
Every place has a story. Every story has roots. When the Cloudinary November Mini-Hack 2026 announced its theme — Celebrate Where You're From! — I knew immediately what I wanted to build. I come from Hecelchakán, Campe
Every place has a story. Every story has roots.
When the Cloudinary November Mini-Hack 2026 announced its theme — Celebrate Where You're From! — I knew immediately what I wanted to build.
I come from Hecelchakán, Campeche, Mexico, a region where ancient Maya archaeological sites, fortified colonial streets, tropical forests, traditional craftsmanship, and coastal communities coexist.
As a Computer Systems Engineering student, I saw an opportunity to bring together my interests in software engineering, creative development, and cultural heritage.
I wanted to build something closer to an interactive cultural magazine and photography exhibition than a conventional tourism website.
That idea became RAÍCES — Discover Campeche.
From an engineering perspective, the project introduced several interesting challenges: delivering externally sourced photography through dynamic transformations, synchronizing geographic exploration with reactive application state, designing interactive double-sided postcards, and generating downloadable compositions directly in the browser.
Explore the project
- 🌐 Live experience: RAÍCES — Discover Campeche
- 💻 Source code: GitHub Repository
- 🎬 Video demonstration: Watch on YouTube
In this article, I'll explore the design decisions, architecture, implementation details, and lessons behind the project.
Designing an Editorial Journey Before Writing Code
Before structuring components or implementing application services, I established a narrative direction for the experience.
RAÍCES would be organized around three stages:
- Discover: Introduce Campeche through cinematic motion, photography, and geographic context.
- Remember: Encourage visitors to create personalized digital memories.
- Celebrate: Present regional identity through cultural storytelling and editorial design.
The visual direction draws inspiration from contemporary editorial publications, cultural exhibitions, traditional correspondence, and the landscapes of Campeche.
Photography remains central to the experience, while typography, motion, and whitespace establish a consistent visual hierarchy.
Color System and Typography
The color palette was inspired directly by the region's architecture and natural environment.
| Color | Hex | Regional Inspiration |
|---|---|---|
| Colonial White | #F6F3EB |
Historic colonial facades |
| Forest Green | #284B40 |
Tropical jungle canopy |
| Natural Sand | #E6D6BD |
Limestone and archaeological sites |
| Terracotta | #C47D65 |
Traditional architecture |
| Coastal Blue | #709B9B |
The Gulf of Mexico |
| Charcoal | #262B28 |
Editorial typography |
For typography, I combined Cormorant Garamond with Manrope.
Cormorant Garamond provides an expressive editorial character for cultural narratives and prominent headings, while Manrope maintains readability across navigation, descriptions, and interactive controls.
GSAP complements this visual system through motion and transitions that support the narrative progression of the experience.
These design decisions also introduced engineering constraints. Large photographic compositions required flexible media delivery, interactive postcards required coordinated state, and responsive layouts needed to preserve their editorial character across different screen sizes.
The visual direction helped define the architecture that followed.
Building a Reactive Frontend Architecture
RAÍCES is built with Angular 22 and TypeScript, using a modular frontend architecture that separates presentation, reactive state, cultural data, media delivery, and creative rendering.
Technology Stack
| Technology | Responsibility |
|---|---|
| Angular 22 | Component architecture and dependency injection |
| TypeScript | Type-safe application development |
| Angular Signals | Reactive application state |
| Cloudinary | Dynamic image transformations and delivery |
| Tailwind CSS | Responsive interface styling |
| GSAP | Motion design and transitions |
| SVG and GeoJSON | Geographic visualization |
| HTML5 Canvas | Digital postcard rendering |
| JSZip | Combined postcard exports |
| localStorage | Local draft and preference persistence |
| WebP | Optimized documentation assets |
| Vercel | Application deployment |
Application Architecture
Figure 1. Conceptual overview of the RAÍCES application architecture.
The application is organized around four core services, each responsible for a specific part of the experience.
| Service | Responsibility |
|---|---|
CloudinaryService |
Media URL generation and image fallback handling |
DestinationSelectionService |
Shared reactive destination state |
I18nService |
Spanish and English language management |
PostcardService |
Creative state, draft persistence, rendering, and export |
This separation prevents presentation components from accumulating unrelated responsibilities.
For example, the postcard editor can request transformed photography without implementing its own Cloudinary URL builder. Similarly, the media service remains independent of personalized correspondence, language preferences, and export formats.
The editorial gallery is also an independent presentation feature rather than a dependency of the postcard editor.
Keeping these boundaries explicit makes the application easier to understand, maintain, and extend.
Shared State with Angular Signals
One architectural challenge was connecting the destination carousel, interactive map, and postcard editor without introducing tightly coupled component relationships.
I implemented a root-level service that owns the writable destination signal and exposes a read-only representation to consuming features.
The following excerpt illustrates the core state-management pattern used in DestinationSelectionService:
private _selected = signal<Destination>(destinations[0]);
selected = this._selected.asReadonly();
select(destination: Destination): void {
this._selected.set(destination);
}
The initial selection is an existing destination rather than a nullable state.
By exposing the signal through asReadonly(), consuming components can react to destination changes while mutations remain controlled by the service.
The service also provides operations for selecting destinations by identifier and navigating between destinations.
This creates a shared source of truth without requiring a larger external state-management library.
For an application of this scope, Angular Signals provide a practical balance between architectural simplicity and reactive behavior.
Treating Media as Architecture with Cloudinary
Photography is one of the primary ways visitors experience the cultural identity of Campeche.
The same destination photograph can appear in several contexts, including carousel slides, geographic previews, postcard compositions, and editorial layouts.
Each context introduces different presentation requirements.
Maintaining manually resized and edited versions of every photograph would increase asset-management complexity and couple the photography catalog to individual interface layouts.
Because RAÍCES uses externally hosted photography, including photographs from Wikimedia Commons, I integrated Cloudinary Remote Fetch as a dedicated media-delivery layer.
Cloudinary Media Pipeline
Figure 2. Conceptual overview of the Cloudinary media-delivery pipeline.
With Remote Fetch, the application describes the desired image representation directly through a delivery URL.
Angular constructs the URL, the browser requests it, and Cloudinary retrieves and transforms the remote photograph when necessary.
This allows the application to request different image representations without maintaining a manually generated collection of photographic variants.
Implementing Dynamic Transformation URLs
The URL generation logic is centralized inside CloudinaryService.
The following excerpt shows the implementation used by RAÍCES:
cloudUrl(
destination: Destination,
width = 1200,
effect = ''
): string {
const height = Math.round(width * 0.62);
const transformations = [
'c_fill',
`w_${width}`,
`h_${height}`,
'q_auto',
'f_auto'
];
if (effect) {
transformations.push(effect);
}
return (
`https://res.cloudinary.com/${this.cloud}/image/fetch/` +
`${transformations.join(',')}/` +
encodeURIComponent(destination.url)
);
}
The implementation derives the requested height from the width, constructs the transformation parameters dynamically, and encodes the remote source URL before including it in the request.
The optional effect parameter makes the same helper reusable for creative photographic treatments.
For example, requesting an image width of 1200 pixels produces a corresponding height of 744 pixels.
Understanding the Transformation Parameters
| Parameter | Purpose |
|---|---|
c_fill |
Resizes and crops the image to fill the requested dimensions |
w_1200 |
Requests an image width of 1200 pixels |
h_744 |
Requests an image height of 744 pixels |
q_auto |
Allows Cloudinary to determine an appropriate quality level |
f_auto |
Allows Cloudinary to select a suitable delivery format |
The resulting URL follows this structure:
const deliveryUrl =
`https://res.cloudinary.com/${cloudName}/image/fetch/` +
`c_fill,w_1200,h_744,q_auto,f_auto/` +
encodeURIComponent(sourceUrl);
This example illustrates the URL structure without requiring private credentials.
The actual application uses a configured public Cloudinary cloud name. Private API secrets are not required for constructing these public delivery URLs and should never be exposed in frontend code.
Remote Fetch must also be permitted by the corresponding Cloudinary product environment and its security configuration.
Handling External Media Failures
External photography introduces dependencies outside the application's direct control.
A remote photograph may become unavailable, a network request may fail, or a Cloudinary transformation may not be delivered successfully.
To account for these situations, CloudinaryService includes fallback handling.
When a transformed image fails to load, the application attempts to display the original photograph. If the original image also fails, the image element is marked as unavailable.
This improves the resilience of the presentation layer.
However, displaying a fallback image successfully does not automatically guarantee that the same image can be exported through Canvas. Cross-origin restrictions introduce additional requirements for programmatic image rendering.
That distinction becomes important in the postcard editor.
Connecting Photography, Geography, and Reactive State
The exploration experience begins with a photographic carousel introducing four contrasting perspectives of Campeche.
Four Views of Campeche — an editorial introduction to the region.
| Destination | Cultural Perspective |
|---|---|
| San Francisco de Campeche | Colonial architecture and fortified heritage |
| Edzná | Ancient Maya civilization |
| Calakmul | Archaeological heritage and tropical forests |
| Isla Aguada | Coastal landscapes and maritime traditions |
Photography communicates the visual identity of a place, while geography provides context about its location within the region.
To connect these perspectives, I paired the carousel with an interactive geographic experience powered by SVG and GeoJSON.
Explore Our Roots
The geographic experience allows visitors to explore destinations and discover their cultural context.
Through the shared destination-selection service, interactive features can consume the same active destination instead of maintaining independent copies of the selection.
This becomes particularly useful when moving from exploration to postcard creation.
The postcard editor can use the currently selected destination as an input for its photographic preview.
The result is a more connected experience, where geography, photography, and creative interaction share a consistent application state.
Engineering Interactive Digital Postcards
The postcard editor is one of the most personal features of RAÍCES.
Traditional postcards combine two complementary forms of expression: photography on the front and personal correspondence on the back.
I wanted to translate that familiar physical experience into an interactive digital tool.
The editor combines destination selection, photographic transformations, personalized correspondence, double-sided compositions, local draft persistence, and downloadable image generation.
From an architectural perspective, these responsibilities introduce several distinct types of state.
The selected destination comes from the shared destination service, while photographic filters, personalized messages, sender information, recipient information, and postcard-side interactions are managed by PostcardService.
Cloudinary remains responsible for delivering transformed photography.
Creative Photography with Cloudinary
One of the most interesting opportunities was using Cloudinary as part of the creative interaction itself.
Visitors can reinterpret destination photography through four photographic styles.
| Style | Cloudinary Effect |
|---|---|
| Original | No additional creative effect |
| Monochrome | e_grayscale |
| Sepia | e_sepia:70 |
| Vivid | e_saturation:35 |
These styles are generated dynamically from the same underlying photograph.
The application does not need to maintain four independently edited source images.
Original — Preserving the Photographic Identity
The Original style preserves the photograph's appearance without adding a creative effect.
The standard cropping, resizing, automatic quality, and format transformations remain active.
Monochrome — Exploring Contrast and Texture
The e_grayscale transformation removes color from the photograph.
This shifts attention toward architectural geometry, textures, contrast, and composition.
For an editorial experience centered on cultural heritage, monochrome photography offers an alternative visual interpretation of the same destination.
Sepia — A Historical Interpretation
The e_sepia:70 transformation introduces a warmer photographic treatment inspired by historical photographs and traditional correspondence.
It complements the visual language of the postcard editor.
Vivid — Celebrating Color
The e_saturation:35 transformation increases color saturation, emphasizing the colorful architectural identity of Campeche.
Comparing these four photographic styles demonstrates how image transformations can influence the visual and emotional character of an experience without changing its underlying cultural content.
Original photography by Adam Jones, Ph.D. — Wikimedia Commons source and licensing information. Photographic treatments are applied through Cloudinary.
Reactive Image Transformations with Angular Signals
The postcard preview depends on two primary reactive inputs: the selected destination and the selected photographic filter.
Angular's computed() API allows the preview URL to be derived directly from those dependencies.
The following excerpt comes from the postcard service:
readonly preview = computed(() =>
this.media.cloudUrl(
this.selection.selected(),
1600,
this.filter()
)
);
When either dependency changes, Angular invalidates the computed value, allowing the application to derive the corresponding Cloudinary URL.
The media service remains responsible for constructing the transformation parameters.
This creates a clear separation between creative state and media processing.
The postcard service determines which photograph and photographic treatment are required, while Cloudinary delivers the requested representation.
Double-Sided Postcards and 3D Interaction
During development, I expanded the editor from a single-sided composition into a double-sided postcard experience.
The front composition focuses on destination photography, typography, and cultural identity.
The reverse composition introduces personalized messages, sender and recipient information, dates, and decorative postal elements.
Three-dimensional flip transitions reinforce the feeling of interacting with a physical postcard. Decorative details, including a Campeche-inspired wax seal, complement the editorial direction.
Combining live text editing, remote photography, responsive layouts, and front/back interactions inside a single component could quickly introduce unnecessary complexity.
Delegating creative state and persistence to PostcardService allows the presentation layer to focus on layout and interaction.
Persistent Creative Drafts
I wanted visitors to be able to return to the application without necessarily losing their personalized correspondence.
The postcard service uses browser localStorage to preserve four draft fields:
- Personalized message.
- Sender information.
- Recipient information.
- Selected photographic filter.
The draft is stored using the key raices-postcard-v2.
The restoration logic validates the selected filter and limits restored text lengths to 250 characters for the message and 50 characters each for the sender and recipient.
Storage operations are handled defensively because browser storage may be restricted or unavailable.
This provides lightweight local persistence without introducing user accounts, a database, or server-side synchronization.
The selected destination and currently visible postcard side are not included in the persisted draft.
From Interactive Preview to Downloadable Images
One of the most interesting engineering decisions was separating the interactive postcard preview from the downloadable postcard composition.
The preview is designed for responsive browser interaction, while the downloadable image requires a predictable output resolution and independently controlled composition.
Rather than capturing a screenshot of the interface, RAÍCES generates downloadable postcards programmatically using the HTML5 Canvas API.
Postcard Engineering Workflow
Figure 3. Conceptual overview of the postcard customization and export workflow.
Although the preview and export share postcard data, they are separate rendering processes.
The export operation captures the relevant state and generates its own Canvas composition rather than copying the visual preview.
Rendering with the HTML5 Canvas API
Each exported postcard face is generated at a fixed resolution of 1600 × 1000 pixels.
This allows the export process to control the placement of photography, text, branding, and decorative elements independently from the browser viewport.
The front composition includes:
- Destination photography.
- Destination name.
- RAÍCES branding.
- Photography attribution.
- Source and licensing information.
The reverse composition includes:
- Personalized correspondence.
- Sender and recipient information.
- Date and destination information.
- Decorative postal elements.
The rendering implementation uses Canvas drawing operations to construct these compositions.
Photography is positioned using cover-style cropping, while personalized text is wrapped using measured text widths.
This provides control over the final image without relying on the responsive dimensions of the interactive editor.
Cross-Origin Image Loading and Canvas Security
Working with external photographs introduces an important browser-security consideration.
A browser may be able to display a remote image through an HTML image element even when programmatic access to its pixels is restricted.
For Canvas rendering, the image-loading implementation configures anonymous cross-origin access before assigning the image source.
const image = new Image();
image.crossOrigin = 'anonymous';
image.src = url;
However, setting crossOrigin is only one part of the requirement.
The remote image response must also provide compatible CORS headers.
Without the appropriate permissions, the image request may fail or a Canvas containing cross-origin content may become restricted from pixel extraction.
The export implementation therefore includes error handling for image-loading and rendering failures.
An image that works as a presentation fallback is not necessarily a valid fallback for Canvas export.
This distinction is particularly important when building creative applications that combine remote media delivery with browser-based image generation.
PNG and ZIP Export
The editor provides three download options.
| Export Option | Generated Output |
|---|---|
| Front | Front postcard as a PNG image |
| Back | Reverse postcard as a PNG image |
| Both | Both postcard faces packaged in a ZIP archive |
The application uses Canvas blob generation to produce PNG files and JSZip to package both postcard faces into a single archive.
The service also maintains a busy state to prevent overlapping export operations.
When the export begins, the relevant postcard data is captured and used to render the requested composition.
For combined exports, both faces are generated and packaged into a ZIP file.
The browser then downloads the resulting file through an object URL, which is subsequently released.
This approach keeps the rendering and file-generation workflow on the client side.
Cloudinary delivers the transformed photography, while Canvas and JSZip are responsible for generating the final downloadable artifacts.
Respecting Original Photography
RAÍCES relies on photography contributed by photographers and cultural organizations.
The exported postcard front includes attribution information associated with the original photograph, including the author, applicable license, source information, and an adaptation notice.
Applying an image transformation does not remove the obligations associated with the original photograph's license.
For a cultural project centered on authentic photography, respecting the work of the original contributors is an important part of the implementation.
Scaling the Cultural Experience
Once the initial exploration and postcard features were established, I expanded the editorial gallery from four featured destinations to seven.
| Destination | Cultural Identity |
|---|---|
| San Francisco de Campeche | Colonial architecture and history |
| Edzná | Ancient Maya heritage |
| Calakmul | Archaeology and tropical forests |
| Isla Aguada | Coastal traditions |
| Bécal | Traditional craftsmanship |
| Hecelchakán | Regional history and cultural identity |
| Palizada | Riverside architecture |
Including Hecelchakán was especially meaningful to me because it is the place I come from.
From an engineering perspective, expanding the gallery provided an opportunity to improve the reuse of editorial compositions.
Dynamic Angular templates allow destination metadata, photography, and presentation rules to be combined into different visual arrangements.
This reduces the need to create a completely independent component for every destination.
The gallery remains an independent presentation feature, extending the cultural narrative beyond the main exploration and postcard workflows.
Bilingual Delivery
Cultural storytelling should be available to both local communities and international visitors.
Through I18nService, RAÍCES supports Spanish and English.
The language service uses Angular Signals to manage the current language and browser storage to preserve the user's preference.
It also updates the document language according to the selected preference.
Localized date formatting is used within the postcard experience.
This approach allows the application to maintain a regional cultural identity while reaching a broader audience.
Responsive Editorial Layouts
Responsive adaptation was particularly important because RAÍCES relies heavily on large photographic compositions, expressive typography, and interactive visual elements.
Editorial layouts cannot always be adapted effectively by simply reducing their dimensions.
Different screen sizes require attention to reading order, photographic composition, spacing, navigation, and interaction.
The objective was to preserve the character of the experience across desktop, tablet, and mobile layouts.
Separating Runtime Media from Documentation Assets
Another architectural boundary worth highlighting is the distinction between runtime application media and static documentation assets.
Runtime application media includes destination photographs delivered dynamically through Cloudinary Remote Fetch.
Documentation assets include screenshots and technical diagrams prepared separately for the GitHub repository and this article.
The documentation currently includes twelve WebP screenshots of the application and three custom technical diagrams.
The original PNG screenshots are retained separately.
These documentation assets are pre-generated files rather than images dynamically transformed by the application's Cloudinary service.
Keeping the two workflows separate makes it easier to understand which responsibilities belong to the runtime media architecture and which belong to project documentation.
Engineering Lessons from Building RAÍCES
Developing RAÍCES reinforced several practical lessons about frontend engineering, media architecture, and creative development.
Media Delivery Deserves Architectural Attention
When photography is fundamental to an application, media delivery influences more than visual appearance.
Image dimensions, remote sources, transformations, fallback behavior, and cross-origin restrictions affect both the interface and the implementation.
Centralizing these responsibilities in a dedicated service helped keep the presentation components focused on their own concerns.
Reactive State Can Support Creative Experiences
Angular Signals provided a practical way to connect destination selection, photographic treatments, and personalized postcard content.
The postcard preview demonstrates how creative interactions can be represented through derived reactive values rather than duplicated state.
This pattern can also be useful in other photography-driven applications, interactive editors, and creative tools.
Browser APIs Can Reduce Infrastructure Requirements
Canvas, localStorage, blobs, and client-side archive generation make it possible to implement meaningful creative functionality without introducing a dedicated rendering backend.
However, browser-based implementations still require careful consideration of storage availability, cross-origin permissions, image-loading failures, and resource management.
Design Decisions Create Engineering Constraints
The editorial direction of RAÍCES directly influenced its technical requirements.
Double-sided postcards, photographic treatments, geographic exploration, and responsive compositions shaped how services, templates, and reactive state needed to interact.
Design and engineering evolved together throughout the project.
Documentation Is an Opportunity for Collaboration
A project becomes easier to understand when its architecture, implementation decisions, and visual experience are documented clearly.
I wanted the GitHub repository and this article to provide enough context for other developers to explore the implementation, understand the media pipeline, and experiment with similar approaches.
Sharing the development process is also an opportunity to receive feedback and learn from the community.
What's Next for RAÍCES?
RAÍCES provides a foundation for a broader cultural exploration experience.
Some areas I would like to explore in future iterations include:
- Additional cultural destinations across Campeche.
- Expanded photography collections.
- Additional postcard templates and photographic effects.
- Interactive cultural and historical timelines.
- More detailed geographic exploration.
- Expanded accessibility improvements.
- Automated testing for image-loading and export workflows.
- Community-driven cultural content.
I would also like to explore Cloudinary's broader transformation capabilities and experiment with new ways of combining media delivery, creative interfaces, and cultural storytelling.
These are potential future improvements rather than features currently implemented in the application.
Explore, Experiment, and Contribute
RAÍCES started as a personal cultural project, but I would love for it to become an opportunity for collaboration and learning.
If you are interested in Angular, Cloudinary, frontend architecture, creative development, photography, or cultural storytelling, I invite you to explore the project.
Project Resources
- 🌐 Live application: RAÍCES — Discover Campeche
- 💻 GitHub repository: Explore the source code
- 🎬 Video demonstration: Watch on YouTube
- 💬 Feedback and suggestions: GitHub Issues
- 👨💻 Developer portfolio: Explore my work
- ✍️ DEV Community: My developer profile
Feedback, technical suggestions, and contributions are welcome.
I am particularly interested in hearing how other developers would approach the media architecture, postcard rendering workflow, and creative image transformations.
Continue Learning Cloudinary
If you are interested in experimenting with Cloudinary and Angular, I previously published another technical article focused on image optimization and dynamic media delivery:
Stop Serving Heavy Images: A Developer's Guide to Cloudinary and Angular
That article introduces Cloudinary Image Lab, an interactive project designed to help developers explore image transformations and optimization techniques.
While Cloudinary Image Lab focuses on experimentation and technical learning, RAÍCES explores how those capabilities can be applied to a complete creative experience.
Technical References
- Cloudinary Documentation
- Cloudinary Remote Fetch
- Cloudinary Image Transformations
- Angular Signals
- MDN — Canvas API
- MDN — Cross-Origin Images in Canvas
- JSZip Documentation
- Wikimedia Commons
- Cloudinary Creators — November Mini-Hack 2026
Closing Reflection
RAÍCES started as a hackathon submission, but it became one of the most personal engineering projects I have built.
As developers, we spend a significant amount of time improving architectures, learning technologies, and solving technical problems. Building this project reminded me that those same skills can also help us preserve memories, celebrate cultural identity, and share the stories of the places we call home.
Cloudinary gave the photography a flexible media-delivery foundation. Angular provided the reactive architecture behind the interactive experience. Campeche gave the project its reason to exist.
I am grateful to Cloudinary and the Cloudinary Creators community for creating opportunities that encourage developers to experiment, collaborate, and build meaningful experiences.
I would also like to acknowledge the photographers, Wikimedia Commons contributors, and communities that help preserve and share Campeche's cultural heritage.
What part of your own region or cultural identity would you build a web experience around?
I would love to hear your ideas.
Discover the land. Remember the stories. Celebrate your roots.
Designed and developed in Campeche, Mexico. 🇲🇽
Orlando Ezequiel Salazar Cruz
Computer Systems Engineering student, software developer, and creative technology enthusiast.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.












