back to projects

Trailblazer

BackendFastAPIMicroservicesPostgreSQLRabbitMQML ForecastingElasticsearchcompleted2024

Trailblazer is a tourism analytics and recommendation platform developed under the ATT Agenda ("Acelerar e Transformar o Turismo"), part of Portugal's PRR ("Plano de Recuperacao e Resiliencia"), to help Destination Management Organizations (DMOs) understand visitor trends, personalize activity recommendations, and make sustainability-informed decisions without centralizing sensitive visitor data.

The platform follows a microservices architecture with six independent Python services behind a React, TypeScript, Vite, and Tailwind CSS frontend. The user microservice handles authentication and profiles; the offer microservice manages tourism offers and activities; the payment microservice handles transaction processing; the recommender microservice generates personalized activity suggestions; a dedicated ML API serves machine learning models independently of the recommender logic; and the monitor microservice provides usage monitoring and analytics for DMO decision-making across infrastructure, marketing, and sustainability concerns.

As Database/Backend Developer in a 6-person Agile team, I designed and implemented backend services using FastAPI, PostgreSQL, RabbitMQ, and Docker. I built the monitor microservice, which forecasts payment volume and profit for tourism offers by combining historical transaction data stored in a MongoDB data warehouse with Google Trends interest-over-time signals for the Aveiro region. I also contributed ML-based features to the recommender microservice, including sentiment analysis using Vader and automatic offer tagging using Facebook's text classification model, both used to power personalized recommendations indexed via Elasticsearch.

Each microservice follows a consistent stack: Python with Poetry for dependency management and Alembic for database migrations, containerized with Docker and orchestrated via Docker Compose, with GitHub Actions CI and SonarQube for code quality. The project was managed using Jira within an Agile sprint cycle, with documentation hosted via a Docusaurus microsite.

  • ·Built as part of Portugal's PRR-funded ATT Agenda initiative for tourism modernization
  • ·Designed a Monitor microservice forecasting payment volume and profit using historical data combined with Google Trends signals
  • ·Contributed ML-based sentiment analysis and offer auto-tagging to power the recommendation engine
  • ·Delivered as part of a 6-service microservices architecture in a 6-person Agile team using Scrum

Backend

FastAPIPythonPostgreSQLMongoDB

Infrastructure

RabbitMQElasticsearchDockerPoetryAlembic

ML

scikit-learnVader Sentiment AnalysisGoogle Trends