π Live Demo https://buildora-ai-five.vercel.app
Buildora AI is a full-stack SaaS platform that allows users to generate, edit, and deploy complete websites using AI.
It simulates a real-world production system with:
- Authentication
- Credit-based usage
- Payment integration
- Public deployment
Traditional website development requires time, technical expertise, and effort.
Buildora AI solves this by enabling users to generate production-ready websites instantly using AI, reducing development time from hours to seconds.
- π§ AI-powered website generation (HTML, CSS, JS)
- π― Credit-based system (10 credits generate / 5 modify)
- βοΈ Modify websites using AI prompts
- π One-click deployment with shareable URL
- π Public website viewing via
/site/:slug - π Google Authentication (Firebase + JWT)
- π³ Razorpay payment integration
1. User visits frontend (React - Vercel)
2. Authentication:
β Login via Firebase (Google)
β Backend generates JWT
β Stored in HTTP-only cookies
3. Website Generation:
β User enters prompt
β Frontend β Backend (/generate)
β Backend β OpenRouter API
β AI returns HTML
β Stored in MongoDB
4. Dashboard:
β Fetch user websites (protected API)
5. Deployment:
β Backend generates unique slug
β Public URL created:
/site/:slug
6. Public Access:
β WebsiteViewer loads
β Calls /getbyslug (NO auth)
β Renders HTML using iframe
7. Payments:
β Razorpay integration
β Credits updated in database
- React.js (Vite)
- Redux Toolkit
- Tailwind CSS
- Axios
- Node.js
- Express.js
- MongoDB (Mongoose)
- JWT Authentication
- OpenRouter API (DeepSeek Model)
- Firebase Google Auth
- Razorpay
- Vercel (Frontend)
- Render (Backend)
- MongoDB Atlas
Buildora-AI/
β
βββ backend/
β βββ config/
β βββ controllers/
β βββ database/
β βββ middlewares/
β βββ models/
β βββ routes/
β βββ utils/
β βββ index.js
β βββ .env
β
βββ frontend/
β βββ public/
β βββ src/
β β βββ components/
β β βββ layout/
β β βββ pages/
β β β βββ Dashboard.jsx
β β β βββ Generate.jsx
β β β βββ WebsiteEditor.jsx
β β β βββ WebsiteViewer.jsx
β β βββ redux/
β β βββ config.js
β β βββ firebase.js
β β βββ App.jsx
β β βββ main.jsx
β βββ index.html
β βββ .env
β
βββ screenshots/
β βββ homepage.png
β βββ dashboard.png
β βββ preview.png
β
βββ README.mdgit clone https://github.com/your-username/buildora-ai.git
cd buildora-aicd backend
npm install
npm run devCreate .env:
PORT=8000
MONGO_URI=your_mongodb_uri
SECRET_KEY=your_secret_key
OPENROUTER_API_KEY=your_api_key
FRONTEND_URL=http://localhost:5173
RAZORPAY_KEY_ID=your_key
RAZORPAY_SECRET=your_secretcd frontend
npm install
npm run devCreate .env:
VITE_SERVER_URL=http://localhost:8000
VITE_FIREBASE_API_KEY=your_key
VITE_RAZORPAY_KEY_ID=your_key- MONGO_URI
- SECRET_KEY
- OPENROUTER_API_KEY
- FRONTEND_URL
- RAZORPAY_KEY_ID
- RAZORPAY_SECRET
- VITE_SERVER_URL
- VITE_FIREBASE_API_KEY
- VITE_RAZORPAY_KEY_ID
Card: 4111 1111 1111 1111
Expiry: Any future date
CVV: 123
OTP: 123456
- Ad blockers may block Razorpay logs
- Firebase requires authorized domains
- Custom domain deployment
- Drag & drop editor
- Templates marketplace
- Team collaboration
Contributions are welcome! π
If you'd like to improve this project, feel free to:
- β Star the repository
- π Report bugs by opening an issue
- π‘ Suggest new features or improvements
- π§ Submit pull requests
-
Fork the repository
-
Create a new branch
git checkout -b feature/your-feature-name
-
Make your changes
-
Commit your changes
git commit -m "Added new feature" -
Push to your branch
git push origin feature/your-feature-name
-
Open a Pull Request π
- Srashti Chauhan β https://github.com/SrashtiChauhan
- Arnav Pundir β https://github.com/ArnavPundir22
If you like this project:
β Star the repo π΄ Fork it π Share it


