🤓 Nerdy Stuff

The technical stack and architecture powering Doortagg's web and mobile platforms

🌐

Web Platform

Framework

Next.js 14

React framework with App Router for server-side rendering, static generation, and optimal performance

Language

TypeScript

Type-safe JavaScript ensuring code quality and reducing runtime errors

Styling

Tailwind CSS

Utility-first CSS framework for rapid UI development with responsive design

UI Library

React

Component-based architecture for building interactive user interfaces

Hosting

Vercel

Edge network deployment with automatic scaling and zero-config HTTPS

Background Jobs

Vercel Cron

Scheduled tasks for session cleanup and subscription management

📱

Mobile Apps

Framework

React Native

Cross-platform native mobile apps with a single codebase for iOS and Android

Toolchain

Expo

Development platform with OTA updates, push notifications, and native module integration

Navigation

Expo Router

File-based routing with deep linking support for seamless navigation

Push Notifications

Expo Notifications

Cross-platform push notifications with foreground/background handling

Audio

Expo AV

Voice note recording and playback for real-time communication

Build & Deploy

EAS (Expo Application Services)

Cloud-based build service for iOS and Android with OTA updates

🗄️

Backend & Database

ORM

Prisma

Type-safe database client with migrations and schema management

Database

PostgreSQL (Neon)

Serverless Postgres with auto-scaling, branching, and instant backups

File Storage

Vercel Blob Storage

Scalable object storage for voice notes and media files

Cache & Rate Limiting

Vercel Redis (KV)

Distributed rate limiting with token bucket algorithm

API

Next.js API Routes

Serverless API endpoints with automatic deployment and scaling

Validation

Zod

TypeScript-first schema validation for API inputs and environment variables

📡

Communication

Push Notifications

Firebase Cloud Messaging

Web push notifications with service worker integration

Mobile Push

Expo Push Notifications

Native mobile push notifications for iOS and Android

Email

Resend

Modern email API for magic links and transactional emails

Messaging

WhatsApp Business API

Optional hand-off to WhatsApp for continued conversations

💳

Payments & Commerce

Payment Processing

Stripe

Secure payment processing with PCI compliance and fraud detection

Checkout

Stripe Checkout

Hosted checkout pages with multi-currency support

Recurring Billing

Stripe Subscriptions

Automated subscription management with trial periods and prorations

Event Processing

Stripe Webhooks

Real-time payment and subscription event handling

🔗

NFC Technology

Hardware

NFC Type 2 Tags

ISO/IEC 14443 Type A compliant passive NFC tags

Protocol

NDEF (NFC Data Exchange Format)

Standardized data format for cross-platform NFC communication

Web Standard

Web NFC API

Browser-based NFC reading on supported Android devices

Deep Linking

Universal Links / App Links

Direct app opening from NFC tags on iOS and Android

Architecture Highlights

Serverless First

Zero server management with automatic scaling from zero to millions of requests

🌍

Edge Deployment

Content served from 100+ edge locations worldwide for minimal latency

🔒

Security Built-In

HTTPS everywhere, rate limiting, CSRF protection, and secure authentication

📊

Type Safety

End-to-end TypeScript from database schema to UI components

🔄

Real-Time Updates

Live chat with polling, push notifications, and session management

💰

Cost Optimized

Pay-per-use serverless architecture with automatic resource optimization

Built on Open Source

Doortagg is powered by amazing open source technologies and the incredible communities behind them. We're grateful to all the maintainers and contributors who make these tools possible.

ReactNext.jsTypeScriptTailwindPrismaPostgreSQLExpoReact NativeNode.jsZodFirebase