An AI-powered SaaS platform that generates exam-oriented notes, diagrams, and revision content in one click using Google Gemini AI.
π examnotesaiclient-ichy.onrender.com
- π€ AI-generated exam notes using Google Gemini API
- π³ Credit-based payment system with Stripe integration
- π JWT Authentication with bcrypt password hashing
- π Auto-generated diagrams, graphs and charts
- π Revision mode for short and crisp notes
- π― Subject and class-wise important questions
- π Production-ready deployment
Frontend
- React.js
- Axios
Backend
- Node.js + Express.js
- MongoDB + Mongoose
- JWT Authentication
- bcrypt
Integrations
- Google Gemini AI API
- Stripe Payment Gateway + Webhooks
Deployment
- Backend: Render
- Frontend: Render
# Clone the repo
git clone https://github.com/Kunal0234/ExamNotesAI.git
# Install backend dependencies
cd server
npm install
# Install frontend dependencies
cd ../client
npm installCreate a .env file in the server folder:
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
GEMINI_API_KEY=your_gemini_api_key
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
PORT=5000Create a .env file in the client folder:
VITE_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key# Run backend
cd server
npm run dev
# Run frontend
cd client
npm run dev- User registers and logs in
- User purchases credits via Stripe payment
- Stripe webhook updates credits after successful payment
- User enters subject and topic
- Gemini AI generates structured exam notes
- Notes are displayed with diagrams and revision content
ExamNotesAI/
βββ server/
β βββ models/
β βββ routes/
β βββ controllers/
β βββ middleware/
β βββ index.js
βββ client/
β βββ src/
β β βββ components/
β β βββ pages/
β β βββ lib/
β βββ index.html
Kunal Kumar
- GitHub: @Kunal0234
- LinkedIn: linkedin.com/in/kunal-kumar