Foundational Setup

A distilled view of Step 0 requirements covering the technology stack and relational schema that power Aura Scribe.

Frontend

Next.js App Router with TypeScript and Tailwind CSS for responsive UI components.

Backend

Next.js API routes powered by Node.js for authentication, invites, and admin workflows.

Database

PostgreSQL accessed through Prisma ORM to model users, teams, projects, audio files, and segments.

Caching

Redis (or in-memory fallback) for persisting JWT-backed sessions with fast invalidation.

File Storage

S3-compatible object storage for audio uploads, exports, and project guidelines.

ASR Engine

Pluggable integration points for AssemblyAI, Deepgram, or Google Speech-to-Text.

Core Database Tables

Prisma schema files track every relationship. The highlights below reflect the MVP data model mandated in Step 0.2.

users: stores credential hashes, role assignments, and team memberships.

teams: groups collaborators with an admin owner for easier assignments.

projects: encapsulates guidelines and ties together audio files.

audio_files: tracks upload metadata, workflow status, and urgency markers.

segments: stores ASR drafts, human edits, and timestamps for precise review.

Next Steps

Continue with Step 1 deliverables by configuring authentication and user management. Use the admin console to invite teammates once your PostgreSQL and Redis instances are wired through environment variables.

Go to authentication