Inspiration
What it does
PrepGuru – AI-Powered Flashcard Generator
Submitted for the Bolt.new One-Shot Challenge
Inspiration
As a student and developer, I’ve often found myself spending more time making study tools than actually studying. Flashcards are incredibly effective for memorization, but creating them manually is time-consuming and repetitive.
That’s what inspired me to build PrepGuru — a mobile app that uses AI to instantly generate flashcards from raw text. Whether it's lecture notes or textbook content, PrepGuru helps you turn study material into quiz-ready flashcards in seconds, so you can focus on learning.
How I Built It
Tech Stack:
- Frontend: React Native (Expo SDK 52) with Expo Router
- AI Integration: Gemini API (Google Generative AI)
- Flashcard Features: Flip, Edit, Delete, Undo
- UI Features: Dark Mode, Responsive Layout, Error Handling
Development Workflow:
- Built the UI using React Native and Expo Router.
- Integrated the Google Gemini API to process user-pasted text and generate question-answer flashcards.
- Implemented features to manage flashcards: flip, edit, delete, and undo.
- Polished the user experience with dark mode, scroll-friendly layouts, and proper feedback states.
What I Learned
- How to integrate large language models (LLMs) like Gemini into a mobile app.
- How to handle prompt formatting, token limits, and user input edge cases.
- The importance of focusing on one well-executed core feature to deliver value quickly.
- How to debug and adapt when third-party libraries or APIs don’t behave as expected.
Challenges I Faced
- PDF Upload Not Working: I originally planned to support both PDF and text input, but
expo-document-pickercaused compatibility issues (npm error notarget) on the required SDK version. I chose to focus on making the text input flow flawless for now. - Gemini API Model Errors: I ran into
404errors when calling some models, which required switching endpoints and updating API calls. - Library Version Conflicts: Several Expo libraries lacked version support for SDK 52, forcing feature cuts and rework during development.
Final Thoughts
PrepGuru was built with one goal: to make studying easier, faster, and smarter. With just a block of text, you can instantly create flashcards and start studying without the friction of manual setup.
Though support for PDFs and multimedia is coming soon, this project helped me prove that even a focused, single-feature tool can offer real value. I’m excited to keep improving PrepGuru and help more students learn better with AI.
Built for the Bolt.new One-Shot Challenge.
Learn faster. Study smarter. Try PrepGuru.
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
I used another prompt to add bolt badge EXPO_PUBLIC_GEMINI_API_KEY=AIzaSyB65t8WcMHlAlfsPkkTusp7Ne9ppfOj80w
Built With
- expo-route
- generative-ai
- javascript
- react-native
- typescript