Nalu: Vue.js & AI Cloud Platform for Apartment Revenue Management System

Quick answer: A batched, transaction-safe migration moves a 2GB+ database from Azure to Google Cloud SQL with zero data loss. A private VPN and Cloud Build secure the new stack. Bacancy Technology did this for Nalu, a US apartment revenue management platform.

Outcomes deliveredDelivered February 2020 to August 2020 by a team of 2 developers
0

Records lost in the 2GB+ migration

No downtime during cutover

Minutes

To set up a new ML project

Down from hours

100%

Production deploys automated

Cloud Build and Docker pipeline

About the Client

Nalu is a US real estate revenue management platform for multi-family apartment owners and operators. It uses machine learning and its "Property DNA" signal layer to show what each unit should rent for. The platform ran on Azure, and the team needed to move to Google Cloud, harden sign-in and give operators control of ML jobs.

Bacancy Technology migrated the database and code, rebuilt authentication on Firebase and added project controls to the Nalu Web App and the Hermosa ML engine.

Client type
Apartment revenue management platform
Industry
Real Estate
Location
United States
Team
2 developers
Timeline
February 2020 to August 2020
Project size
Non-disclosable
Engagement
Cloud migration and web app development

Four problems slowing Nalu's pricing platform

Cloud lock-in, extra vendor cost, slow project setup and exposed data held back a platform built on precise pricing.

Locked into the wrong cloud

What was happening

The platform ran on Azure while the team wanted the whole stack on Google Cloud.

Business Impact: Two clouds meant more operational overhead and a harder path to scale.

Exposed pricing data

What was happening

A public database endpoint would expose proprietary pricing data.

Business Impact: A security gap on the data that drives every rent decision.

Recurring Auth0 cost

What was happening

Auth0 added a third-party fee and an external dependency.

Business Impact: Ongoing cost with no control over sessions or access.

Slow, error-prone setup

What was happening

Operators entered the same baseline data by hand for every new project.

Business Impact: Onboarding slowed and input errors corrupted ML predictions.

Challenges & Solutions

Our Vue.js and Node.js developers handled each part of the move and the new operator controls.

Challenge 1: Migrating a 2GB+ database from Azure to Google Cloud SQL

Standard migration scripts timed out, broke on schema mismatches and hit memory limits on the 2GB+ database.

Solution: Our Vue.js developers wrote a custom TypeORM migration in batched, transaction-safe chunks and validated each table before the next. Every foreign key between projects, properties, ML models and users stayed intact, with zero data loss.

Challenge 2: Deploying the Hermosa ML engine without a public database

Hermosa had to reach the new Cloud SQL instance without exposing the database to the public internet.

Solution: Our team connected the SQL instance to the application layer through a private VPN. Google Cloud Build now runs YAML configurations and Docker builds on every code push.

Challenge 3: Replacing Auth0 with Firebase Authentication

Auth0 added a recurring cost and an external dependency, but Firebase lacked automatic session handling.

Solution: Our developers rebuilt session handling with cookies and set up Firebase login, signup and password recovery. Existing users moved over with no password reset, and the Auth0 cost is gone.

Challenge 4: Real-time control and logs for ML jobs

Polling for job logs would hit API rate limits and give operators laggy feedback on failing jobs.

Solution: Our team added Redis pub/sub so the backend pushes log events and project state changes. Operators start, stop and monitor jobs from the web app with near real-time feedback.

Challenge 5: Cutting project setup from hours to minutes

Operators keyed the same baseline data into every new project, which caused input errors.

Solution: We built a data configuration layer that fills in property templates, unit types, market segments and pricing defaults. Any field can be overridden, and setup now takes minutes.

Challenge 6: Making Firebase connectors easy to maintain

Hard-coded Firebase fields across many components meant every schema change needed edits in dozens of places.

Solution: Our developers refactored the connectors into one generalized Firestore component layer. Schema changes now flow from a single configuration source.

How the Platform Works

Nalu apartment revenue management platform on Vue.js and Google Cloud

Core Features

  • Project creation and versioningCreate projects and manage versions, modules and steps in one place.
  • Manual and scheduled ML jobsStart, stop or schedule projects, with auto jobs management.
  • Live log streamingRedis pub/sub pushes job logs and status to operators in near real time.
  • Pre-filled project setupBaseline templates and pricing defaults load into each new project.
  • ML pricing predictionsMachine learning and data scraped from several sources guide unit pricing.

The stack behind the platform

Frontend
Vue.js | Nuxt.js
Backend
Node.js | TypeORM | Google Cloud Functions
Database and caching
MS SQL | Google Cloud SQL | Firestore | Redis
Authentication
Firebase Authentication
Cloud and DevOps
Google Cloud Storage | Google Cloud Build | Docker | VPN

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies