Flashcard generation platform that helps you turn any text into study flashcards automatically via AI.
- Generate Flashcards: Write text and AI creates flashcards for you
- Save & Organize: Store your flashcards in collections
- Study Anywhere: Access your flashcards from any device
- Subscription Model: Upgrade for unlimited flashcards and storage
Project requires accounts with:
- Clerk (clerk.com) - For user login/signup
- OpenAI (openai.com) - For AI flashcard generation
- Stripe (stripe.com) - For payments
- Firebase (firebase.google.com) - For storing flashcards
npm install.env.local file with:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
OPENAI_API_KEY=your_openai_api_key
STRIPE_SECRET_KEY=your_stripe_secret_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
Firebase configuration in firebase.js
- Copy the config object into
firebase.js
npm run devOpen local host to see test app
Deploy to Vercel:
- Push code to GitHub
- Import your repo on Vercel
- Add all environment variables in Vercel settings
- Deploy