Skip to content

aliBenhenia/PromptForge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

55 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฎ PromptForge โ€“ AI-Powered Developer Toolkit

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.


๐Ÿš€ Features

  • ๐Ÿง  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.

๐Ÿ› ๏ธ Tech Stack

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

๐Ÿ“ Project Structure (Simplified)

PromptForge/
โ”œโ”€โ”€ client/ (Next.js frontend)
โ”œโ”€โ”€ server/ (Express backend)
โ””โ”€โ”€ README.md

๐Ÿงช Installation & Setup

  1. Clone the repo

    git clone https://github.com/your-username/promptforge.git
    cd promptforge
  2. Setup the backend

    cd server
    npm install
    npm run dev
  3. Setup the frontend

    cd client
    npm install
    npm run dev
  4. Set environment variables in .env for both frontend and backend:

    OPENAI_API_KEY=your_key_here
    JWT_SECRET=your_secret_key
    MONGO_URI=your_mongo_connection_string

๐ŸŒ Live Demo

๐Ÿ”— Visit PromptForge


๐Ÿ“š Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork, open a PR, or submit feedback.


๐Ÿ“œ License

This project is licensed under the MIT License.

About

An AI-Powered Tool Hub for Developers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published