← All projects

Hostomat

Overview

Hostomat is a backend application for accommodation providers that manages accommodations and bookings while simplifying guest registration through secure, shareable registration links. It separates host-facing administration from guest-facing registration flows and is designed as a foundation for automating accommodation reporting workflows.

My Role

  • Designed and developed the application architecture and REST API with NestJS and TypeScript.
  • Implemented domain workflows for hosts, accommodations, bookings, coordinator sessions, guest sessions, and guest registrations.
  • Built MongoDB persistence with Mongoose and automated testing with Jest, including end-to-end coverage of complete registration flows.

Architecture & Technology

  • Modular NestJS REST API with TypeScript
  • MongoDB persistence through Mongoose repositories and domain-oriented models
  • Authenticated host workflows for managing accommodations and bookings
  • Token-based coordinator and guest sessions for secure, limited-access registration flows
  • Separation between host administration and public guest-registration endpoints
  • Unit and end-to-end testing with Jest against an isolated test database

Engineering Challenges

  • Designing a registration flow that allows guests to submit personal details without requiring an account while keeping access scoped and secure.
  • Modelling the lifecycle between bookings, coordinator sessions, guest sessions, and completed registrations without tightly coupling the individual workflows.
  • Keeping persistence concerns isolated from application logic while working with MongoDB and Mongoose.
  • Testing multi-step workflows end to end, including authentication, session creation, registration completion, and database state changes.

Results & Impact

  • Built a working API foundation covering the complete flow from host onboarding and booking creation to guest registration.
  • Created a secure shareable-link workflow that lets accommodation providers collect registration details directly from guests.
  • Established automated test coverage for critical application and persistence workflows.
  • Created an extensible backend foundation for future accommodation reporting and city-tax automation.