Transform raw ideas into professional, detailed specifications with AI-powered refinement and visual diagrams.
- AI-Powered Refinement: Convert simple ideas into comprehensive project specifications
- Visual Diagrams: Automatically generate Mermaid flowcharts and architecture diagrams
- Interactive UI: Modern, responsive interface with smooth animations
- Rich Text Rendering: Markdown-formatted output with syntax highlighting
- API Documentation: Full Swagger/OpenAPI documentation available
Interactive API documentation is available at: https://pulse-idea-backend.vercel.app/api-docs/
-
Get a Gemini API Key (Required)
- Visit Google AI Studio
- Click "Create API Key"
- Copy your key
-
Clone and Install
git clone https://github.com/michaelraoof/pulseIdea.git cd pulseIdea pnpm install cd backend pnpm install
-
Configure API Key
Create
backend/.env:GEMINI_API_KEY=your_actual_api_key_here PORT=3000
Create
.env(in root directory for frontend):VITE_API_URL=http://localhost:3000
Note: For production deployment, update
VITE_API_URLto your deployed backend URL. -
Run the Application
Terminal 1 (Backend):
cd backend pnpm run devTerminal 2 (Frontend):
pnpm run dev
-
Open in Browser
- Frontend: http://localhost:5173
- API Docs: http://localhost:3000/api-docs
- React 18 + TypeScript
- Vite
- TailwindCSS 4
- Motion (Framer Motion)
- Mermaid.js for diagrams
- React Markdown
- Node.js + Express
- Google Gemini AI API
- Swagger/OpenAPI documentation
- CORS enabled
The frontend is deployed automatically via Vercel when pushing to the main branch.
The backend is deployed separately with the root directory set to backend/.
Important: Set the following environment variable in Vercel:
GEMINI_API_KEY: Your Google Gemini API key
- Enter your idea in the input field (max 500 characters)
- Click "Refine Idea"
- View the refined specification in the "Text" tab
- Switch to "Diagram" tab to see the visual flowchart
- Use zoom/pan controls to navigate the diagram
- Copy the output using the "Copy" button
- Client-side: 500 character limit with live counter
- Server-side: Validation middleware for data integrity
- Headers, lists, and paragraphs properly formatted
- Bold text highlighted in blue
- Left-aligned for optimal readability
- Zoom In/Out: Adjust diagram scale
- Pan: Drag to move around
- Reset: Return to original view
MIT
Contributions are welcome! Please feel free to submit a Pull Request.
For questions or feedback, please open an issue on GitHub.