Transform long texts into consumable audio summaries in seconds.
Briefify is a comprehensive demonstration of a full-stack digital product. It is built to simulate real-world challenges encountered in SaaS environments, making it a perfect showcase of engineering capabilities.
It demonstrates proficiency in critical areas highly sought after by startups and fintechs:
- Business Logic & Monetization: Server-to-server integration with the Stripe API using Webhooks to securely validate and provision premium access.
- Security & Authentication (OAuth 2.0): Robust session management using NextAuth with Google and GitHub providers.
- LLM Integration (Artificial Intelligence): Integration with the Google Gemini API to orchestrate the processing and summarization of large text volumes.
- Database Design: Data modeling with Prisma ORM to manage users, sessions, and subscriptions efficiently.
- Architecture & Clean Code: Modular, componentized code focused on scalability (Next.js App Router) and styled with Vanilla CSS using design tokens, demonstrating a strong grasp of CSS fundamentals without relying on utility frameworks.
-
Seamless Authentication
- Login via Google or GitHub. We do not store passwords, delegating security responsibilities to mature OAuth providers.
-
Paywall & Stripe Webhooks
- Free-tier users cannot consume the AI API and must upgrade their plan.
- The Checkout routes users to the secure Stripe platform.
- The backend actively listens to payment events (
checkout.session.completedandinvoice.payment_succeeded) via secure Webhooks (verified by cryptographic signature) to update the user's status in the database.
-
AI-Powered Summarization & Audio Generation (TTS)
- Utilizes the Gemini 3.6 Flash model to condense articles of thousands of words into a digestible and conversational format, coupled with browser Text-To-Speech for accessibility.
-
Native Text-to-Speech
- The application leverages the browser's native Web Speech API to synthesize the AI-generated text into natural audio, optimizing infrastructure costs without relying on paid third-party audio APIs.
- Frontend/Backend: Next.js (App Router)
- Database: SQLite (Easily migratable to PostgreSQL via Prisma)
- Styling: Pure CSS with global variables (
globals.css), focused on a Glassmorphism aesthetic, responsive UI, and micro-animations. - Code Standards: ESLint, Prettier, TypeScript Strict Mode.
git clone https://github.com/moisesz10/Briefify.git
cd Briefifynpm installCreate a .env file in the root directory and fill in the following keys:
DATABASE_URL="file:./dev.db"
# NextAuth
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="your_secret_string_here"
# OAuth Providers (Get these from Google/GitHub developer consoles)
GOOGLE_ID="your_google_id"
GOOGLE_SECRET="your_google_secret"
GITHUB_ID="your_github_id"
GITHUB_SECRET="your_github_secret"
# Stripe (Get these from your Stripe Dashboard in "Test Mode")
STRIPE_SECRET_KEY="sk_test_..."
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_..."
STRIPE_WEBHOOK_SECRET="whsec_..."
# Google Gemini API
GEMINI_API_KEY="your_google_ai_studio_key"npx prisma db push
npx prisma generatenpm run devOpen http://localhost:3000 in your browser to see the result.
Created by Moises. Feel free to reach out and explore my portfolio. Open to new software engineering opportunities!
