REDA AJDIAI & DATA SCIENCE ENG
[SOFTWARE SPECIFICATION]ID: navima-sense
LIVE DEMO

NaviMa: Cultural Intelligence Platform

An AI-driven travel platform featuring an interactive Next.js map, a NestJS backend, and a Python RAG microservice for sensory-based itineraries.

Next.jsNestJSFastAPIPostgreSQLAI/RAG
[ENGINEERING MODULE OVERVIEW]

NaviMa: Cultural Intelligence Platform

Most travel apps throw the same ten global tourist traps at every user. My team and I decided to build NaviMa, a “Cultural Intelligence” platform dedicated to the Moroccan Hinterland, to prioritize local experiences and entirely redefine how itineraries are built.

Instead of filtering by generic tags like “Hotels” or “Restaurants,” NaviMa filters by human sensory experience.

The Microservice Architecture

To handle the platform’s complexity, we split the architecture into three distinct services:

  1. The Core Backend (NestJS + PostgreSQL + Prisma): A high-speed API managing our curated “Gold List” of 338+ verified locations, strict JWT authentication, and the persistence of user-saved itineraries.
  2. The Visual Layer (Next.js + Leaflet): A highly interactive map application utilizing Zustand for complex, cross-component state management.
  3. The Trajectory Engine (Python + FastAPI): A dedicated AI microservice running a Temporal RAG sequence.

The Sensory Onboarding & AI Engine

When a user first joins, they go through a 12-step interactive onboarding process to establish their sensory “vibe”—ranking priorities like auditory quietness, tactile artisanat, and physical mobility.

The NestJS backend synthesizes this data into a “Traveler DNA String” and passes it to the Python RAG microservice. The AI then acts as a Trajectory Engine, generating a geographically clustered, multi-day itinerary. Crucially, the AI isn’t allowed to hallucinate; it is constrained by strict rules to anchor each day around a logical lodging choice and must provide a concrete, explainable reason for every recommendation based exactly on the user’s sensory profile.

Local Inclusion & The Negotiator

Beyond mapping, NaviMa acts as a digital bridge for the local economy. We built “The Negotiator”—a localized AI assistant that understands Moroccan Darija and protects tourists from overcharging by providing state-regulated “Fair Prices” in real-time. In the future, we plan to expand this economic inclusion by providing “Digital Passes” to local cooperatives, putting unlisted artisans safely on the map.