Turn your ideas into real websites using AI. Just describe what you want… and boom, it builds it 🪄
NxtBuild is a full-stack app where you can:
- 💬 Describe a website in plain English
- 🤖 AI (Gemini) generates full code
- 👀 See a live preview instantly
- 💾 Save your projects
Basically… idea → working app in seconds ✨
- 🔐 Login & Signup (secure auth)
- 📁 Project dashboard
- 🤖 AI code generation (HTML/CSS/JS)
- 💬 Chat-based builder
- 👀 Live preview
- 📥 Download your code
- Frontend: React + Vite
- Backend: Node.js + Express
- Database: MongoDB Atlas
- AI: Google Gemini
root/
├── client/ → frontend (React)
└── server/ → backend (Node + Express)
git clone https://github.com/bhangalegunjan/nxtbuild.git
cd nxtbuild
cd server
npm install
Copy this:
MONGODB_URI=your_mongodb_atlas_url
JWT_SECRET=your_secret_key
GEMINI_API_KEY=your_gemini_api_key
JWT_EXPIRES_IN=7d
CLIENT_URL=http://localhost:5173
PORT=5000
MONGODB_URI→ your database link (from MongoDB Atlas)JWT_SECRET→ any random text (used for login security)GEMINI_API_KEY→ your Google Gemini API key
npm run dev
(or node server.js)
cd ../client
npm install
npm run dev
- Frontend → http://localhost:5173
- Backend → http://localhost:5000
Steps:
- Upload code to GitHub
- Add environment variables on hosting
- Replace
localhostwith your backend URL
- Never share your
.envfile - Always use environment variables (no hardcoding keys)
- Allow MongoDB Atlas access (
0.0.0.0/0)
- You type: “make me a portfolio website”
- AI understands it
- AI generates full code
- App shows preview
- You edit → AI improves it
You:
"Make a landing page with a navbar and hero section"
App: ✔ Creates full HTML ✔ Adds styling ✔ Makes it responsive
Feel free to fork, improve, and build your own version 💙
This project removes the hardest part of coding: starting
Now you just think… and build 🚀