PromptGPT is an AI powered chatbot web application built to help users interact with large language models (LLMs) like LLaMA 3.1 8B Instruct in a structured and user friendly way. The platform allows users to chat, view model responses in an organized format and manage their conversation history seamlessly.
PromptGPT is built as a full stack web application using React.js, Node.js, Express and JWT based authentication, following industry level practices for security, state management and API integration.
Live Demo: Click here to view PromptGPT
- User Sign Up and Login using secure authentication
- JWT based token authentication
- Structured display of AI generated responses.
- Uses ReactMarkdown with remarkGfm and rehypeHighlight to render responses with Markdown formatting and code highlighting.
- Supports multiple prompts and conversation history.
- Clear differentiation between user input and AI output.
- React.js
- CSS3
- Node.js
- Express.js
- REST APIs
- JWT tokens
- Password hashing
- Prerequisites
- Node.js (v16+ recommended)
- Git
- API key for OpenRouter to access **LLaMA 3.1 8B Instruct**
1. Clone the repository
git clone https://github.com/Yashrane25/PromptGPT.git
cd PromptGPT
2. Install dependencies
npm install
3. Run the application
node server.js
4. Open in browser
http://localhost:8080
- Passwords stored using hashing
- JWT authentication for secure API access
- Users can only access their own chat history
- Protected routes to prevent unauthorized access
Yash Rane
Computer Science and Engineering Student
Aspiring Software Developer