Skip to content

Sanjanayadav07/QuickGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– QuickGPT - AI Chat & Image Generator

🎨 QuickGPT Frontend

React
Vite
TailwindCSS
Stripe
License: MIT

This is the frontend client for QuickGPT.
It is built with React, Tailwind CSS, and Context API for state management.


βš™οΈ Tech Stack

  • βš›οΈ React + Vite
  • 🎨 Tailwind CSS
  • πŸŒ€ Context API
  • 🌐 Axios
  • πŸ”” React Hot Toast
  • ⏳ Moment.js

πŸ“‚ Folder Structure

client/
│── components/ # UI components
│── context/ # AppContext
│── pages/ # Login, Chat, Credits
│── assets/ # Images & icons
│── App.jsx # Main app
└── README.md


πŸ› οΈ Setup Instructions

# Go to client folder
cd client

# Install dependencies
npm install

# Start development server
npm run dev

πŸ‘‰ Create a .env file in client/ and add

VITE_SERVER_URL=http://localhost:3000

πŸ”‘ Features

  • User login & registration
  • Chat with AI
  • Generate AI images
  • Purchase credits (Stripe integrated)
  • Dark/Light theme toggle
  • Recent chats list

⚑ QuickGPT Backend

Node.js
Express.js
MongoDB
Stripe
License: MIT

This is the backend API for QuickGPT.
It is built with Node.js, Express.js, MongoDB, and Stripe for payments.


βš™οΈ Tech Stack

  • πŸš€ Node.js + Express.js
  • πŸƒ MongoDB + Mongoose
  • πŸ’³ Stripe API (Payments & Webhooks)
  • πŸ”‘ JWT Authentication
  • πŸ›‘οΈ Middleware (Auth & Error handling)

πŸ“‚ Folder Structure

server/
│── models/         # Mongoose models (User, Chat, Transaction)
│── routes/         # Express routes (auth, chat, credit)
│── controllers/    # Controller logic
│── middleware/     # Auth middleware
│── configs/        # DB connection, Stripe config
│── server.js       # Entry point
│── .env            # Environment variables
└── README.md

πŸ› οΈ Setup Instructions

# Go to backend folder
cd server

# Install dependencies
npm install

# Start development server
npm run dev

πŸ‘‰ Create a .env file in server/ and add:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
STRIPE_SECRET_KEY=your_stripe_secret
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
PORT=3000

πŸ”‘ Features

  • User authentication (JWT-based)
  • Chat API for AI conversations
  • Credit purchase (Stripe integration)
  • Webhook support for Stripe events
  • Secure routes with middleware
  • RESTful API structure

🀝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.

Steps to Contribute

  1. 🍴 Fork this repository
  2. πŸ‘― Clone your fork
    git clone https://github.com/<your-username>/QuickGPT.git
    
  3. πŸ”§ Create a new branch:
git checkout -b feature-branch
  1. πŸ“ Make your changes and commit
git commit -m "Add new feature"
  1. πŸš€ Push to your fork:
git push origin feature-branch
  1. πŸŽ‰ Open a Pull Request

πŸ“œ License

MIT License Β© 2025 Sanjana Yadav

πŸ“¬ Let's Connect

LinkedIn
Gmail

About

QuickGPT is a full-stack AI-powered application that allows users to: - πŸ’¬ Chat with an AI assistant in real-time - 🎨 Generate AI-powered images from prompts - πŸ’³ Purchase credits using Stripe for continued usage - πŸŒ— Switch between Dark/Light themes - πŸ“œ View and manage recent chat history ...!!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors