Building FlashFathom AI SAAS project that generate Flascards - Deployment Using DevSecOps Best Practices
Last updated Jun 17, 2026
34
Stars
26
Forks
19
Issues
0
Stars/day
Attention Score
45
Topics
Language breakdown
TypeScript 86.0%
Shell 11.5%
CSS 1.3%
Dockerfile 0.8%
JavaScript 0.4%
▸ Files
click to expand
README

About Flash Fathom AI
Flash Fathom AI is an intelligent flashcard learning platform that revolutionizes how you study and retain information. Powered by advanced AI technology, it combines personalized content generation, spaced repetition algorithms, and intuitive study modes to maximize your learning efficiency.
Why Choose Flash Fathom AI?
- AI-Powered Content Generation: Instantly create flashcards using Gemini API
- Advanced Spaced Repetition: Scientific learning algorithms that adapt to you
- Mobile-First Design: Study anywhere with responsive UI and gestures
- Real-Time Search: Instantly find cards and decks
- Flexible Subscriptions: Plans for every learner's needs
Demo
https://github.com/user-attachments/assets/48e44c2e-424f-4d0e-b851-02a9489ec26e
🛠️ Tech Stack
Frontend
- Next.js 15
- TypeScript
- Tailwind CSS
- shadcn/ui
Backend & Database
- Next.js API Routes
- PostgreSQL (via Supabase)
- Prisma ORM
Authentication & Payments
- Clerk v6
- Razorpay
AI & APIs
- OpenAI API
- Gemini API
DevOps & Deployment
- Docker
- Vercel
- GitHub Actions
Project WorkFlow

✨ Features
Core Features
- Secure authentication (Clerk)
- AI-based flashcard generation using Gemini API
- Study modes with spaced repetition
- Real-time global search
Study Experience
- Touch gesture support
- Difficulty tracking
- Analytics and progress tracking
- Fully responsive & mobile-friendly
- Offline study mode
Subscription Management
- Free, Basic (₹59/₹590), Pro (₹99/₹990), Org (₹159/₹1,590)
- Monthly/Yearly with 2-month discount
- Razorpay-secured payments
- Learning stats & usage analytics
Advanced Features
- Real-time search with filters
- Export to PDF or Anki
- Team/Org collaboration
- In-depth performance analytics
Quick Start
Prerequisites
- Node.js 18+
pnpm- PostgreSQL (or Supabase)
- Clerk account
- Razorpay account
- OpenAI API key
1. Clone & Setup
git clone https://github.com/your-username/Flash-Fathom-AI
cd Flash-Fathom-AI
npm install -g pnpm
pnpm install
2. Add Environment Variables
Create .env.local with the .env.example file we have
3. Setup Database
pnpm prisma generate
pnpm prisma db push
4. Start Development
pnpm run dev
Visit: http://localhost:3000
🐳 Docker Deployment
Quick Run
docker pull surajkumar00/flashfathom-ai
docker run -it -p 3000:3000 surajkumar00/flashfathom-ai
Custom Build
docker build -t flashfathom-ai .
docker run -it -p 3000:3000 --env-file .env.local flashfathom-ai
API Documentation
Auth
GET /api/auth/user– Get current userPOST /api/auth/webhook– Handle Clerk webhook
Payments
POST /api/razorpay/create-orderPOST /api/razorpay/verify-payment
Study
POST /api/study/startPOST /api/study/recordPOST /api/study/complete
Content
GET/POST /api/decksGET/POST/PUT/DELETE /api/flashcardsGET /api/search
Issue Reporting
Please include:
- 🔍 Issue Title
- 📝 Description
- 🚶 Steps to Reproduce
- ✅ Expected vs ❌ Actual Behavior
- 🖥️ Environment Info
🤝 Contributing
We welcome PRs! Read the Contribution Guidlines
Steps:
# Fork & clone
git checkout -b feature/your-feature
Make changes
git commit -m "feat: add your feature"
git push origin feature/your-feature
Open a Pull Request
Standards
- TypeScript
- ESLint + Prettier
- Before raising PR locally build should pass all checks
- Conventional commits
- Add test coverage
Contributors
|
Suraj |
Shivansh |
Milan P Samuel |
Zaheer khan |
Anushka Chouhan |
Haseeb Zaki |
|
Sachin Singh |
ALOK MISHRA |
subhamagarrwal |
t rahul prabhu |
Star History
License
This project is licensed under the MIT License!
Support via giving a ⭐ star
If you like this project, please give it a ⭐ star. Your support means a lot to us!
🔗 More in this category