Resources > Migrate to Kroxt
Resources > Migrate to KroxtKroxt BaaS SDK v1.0.5

Migrate to Kroxt

Step-by-step migration maps from legacy backend providers to Kroxt BaaS.

Firebase Auth vs Kroxt Migration mapping

Firebase SDK ConceptKroxt SDK EquivalentNotes
createUserWithEmailAndPasswordbaas.auth.register(...)Saves to custom project user table pool
signInWithEmailAndPasswordbaas.auth.login(...)Performs silent IP rate limit checks
onAuthStateChangedbaas.auth.me()Resolves profile context directly
Authentication Code comparison:
comparison.ts
1
2
3
4
5
6
7
// ❌ Firebase:
import { signInWithEmailAndPassword } from "firebase/auth";
await signInWithEmailAndPassword(auth, email, password);

//  Kroxt BaaS:
import baas from "./kroxt";
const session = await baas.auth.login({ email, password });