PromptForge is a modern web-based toolkit designed to boost developer productivity with AI-powered utilities. It provides smart, context-aware tools such as code explanation, bug fixing, and regex generation, all inside a clean and responsive interface.
Built using the MERN stack, integrated with DeepSeek and OpenAI, and secured with JWT-based authentication, PromptForge helps developers supercharge their workflows effortlessly.
- ๐ง Code Explainer โ Understand any code instantly using AI.
- ๐ Bug Fixer โ Paste buggy code and get one-click fixes with explanations.
- ๐ Regex Generator โ Generate complex regex patterns with natural language.
- ๐ค User Dashboard โ Manage sessions, saved prompts, and personal profile.
- ๐ JWT Authentication โ Secure access with login, registration, and protected routes.
- โก DeepSeek & OpenAI Integration โ Real-time smart assistant for fast, contextual help.
| Category | Technologies Used |
|---|---|
| Frontend | Next.js, React, TypeScript, TailwindCSS |
| Backend | Express.js, Node.js, MongoDB, Mongoose |
| Authentication | JWT, Role-Based Access Control (RBAC) |
| AI Integration | DeepSeek API, OpenAI API |
| State Management | Context API, useReducer |
| Styling | Tailwind CSS, Responsive Design |
| Deployment | Frontend: Vercel Backend: Railway Database: MongoDB Atlas |
PromptForge/
โโโ client/ (Next.js frontend)
โโโ server/ (Express backend)
โโโ README.md
-
Clone the repo
git clone https://github.com/your-username/promptforge.git cd promptforge -
Setup the backend
cd server npm install npm run dev -
Setup the frontend
cd client npm install npm run dev -
Set environment variables in
.envfor both frontend and backend:OPENAI_API_KEY=your_key_here JWT_SECRET=your_secret_key MONGO_URI=your_mongo_connection_string
Contributions, issues, and feature requests are welcome! Feel free to fork, open a PR, or submit feedback.
This project is licensed under the MIT License.