You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sequenceDiagram
participant U as User
participant FE as Next.js Frontend
participant BA as Better Auth API
participant DB as Database
U->>FE: Submit credentials (Sign In/Up)
FE->>BA: POST /api/auth
BA->>DB: Validate or create user
DB-->>BA: User data / Auth token
BA-->>FE: Auth token (JWT/session)
FE-->>U: Set session, redirect to dashboard
Loading
📦 Main Endpoints (API)
Endpoint
Method
Description
/api/auth/sign-in
POST
User login
/api/auth/sign-up
POST
User registration
/api/meetings
GET
List meetings
/api/meetings
POST
Create new meeting
/api/meetings/:id
GET
Get meeting details
/api/meetings/:id/summary
GET
Get AI meeting summary
/api/meetings/:id/recording
GET
Download recording
/api/payments/subscribe
POST
Subscribe via Polar
⚙️ Environment Variables
Set up your variables in .env.local:
Variable
Description
STREAM_API_KEY
Stream Video/Chat credential
STREAM_API_SECRET
Stream Video/Chat secret
OPENAI_API_KEY
OpenAI Key
BETTER_AUTH_SECRET
Secret for Better Auth
POLAR_API
Key for Polar payments
...
See .env.example for more details
🚀 Getting Started
Prerequisites
Node.js 18+
Bun (opcional, recomendado)
npm o yarn
Credenciales de Stream
API Key de OpenAI
Installation
# Clone the repository
git clone https://github.com/LostoVayne/meet-ai-platform.git
cd meet-ai-platform
# Install dependencies (choose one)
bun install
# o
npm install
# o
yarn
# Set environment variables
cp .env.example .env.local
# Start the development server
bun dev
# o
npm run dev
# o
yarn dev
🚀 Deploy on AWS Amplify
Connect your repository in AWS Amplify.
Set up environment variables in the Amplify panel.
Amplify detecta Next.js y usa amplify.yml para el build.
Deployment is automatic on each push to the main branch.
Integration with Polar for subscriptions and payments.
Set your key in environment variables.
The payment flow is handled from the dashboard.
📚 Rules and best practices
Usa Bun for fast and efficient development.
Follow Next.js folder convention (app router).
UI components in src/components/ui/.
Custom hooks in src/hooks/.
Keep dependencies updated.
Use ESLint and Prettier to keep the code clean.
Do not upload keys or secrets to the repository.
📞 Support
Questions or suggestions? Open an issue or contact shubhangampandey.
About
End-to-end AI-powered video call application where you implement real-time calls with customized AI agents, generate automatic summaries and transcriptions through background processes, and create a post-call experience with video playback, transcript search, and a contextual AI chat. The project also covers authentication, subscriptions, etc