- ✨ Introduction
- 🚀 Features
- 🛠 Tech Stack
- 📥 Installation
- ⚙️ Configuration
- 📖 Usage
- 📸 Snapshots
- 📜 License
PROMPTHUB is a dynamic marketplace for AI-generated image prompts, empowering users to buy and sell prompts crafted for AI art. Creators can monetize their unique prompts, while buyers discover top-tier prompts that fuel their creative endeavors. 🌟
- 🏪 Prompt Marketplace: Buy and sell unique AI prompts with ease.
- 🔒 Secure Authentication: Clerk-powered secure user login.
- 🌐 Media Hosting: Prompt images managed with Cloudinary for fast, reliable delivery.
- 📱 Responsive Design: A seamless experience across all devices.
- 💸 Secure Payments: Process transactions with confidence using Stripe.
- 🖼 User Profiles: Showcase your prompts and track purchase history.
- 🔍 Search & Filter: Easily locate prompts by style, tags, and popularity.
PROMPTHUB leverages a modern and robust tech stack:
- Frontend: Next.js, React, TypeScript
- Styling: Tailwind CSS for responsive, fast design
- Authentication: Clerk
- Payments: Stripe for secure transaction processing
- Media Storage: Cloudinary for image hosting and delivery
- State Management: Context API and custom hooks as needed
To set up PROMPTHUB locally:
-
Clone the repository:
git clone https://github.com/sithijakavee/PromptHub.git cd prompthub
-
Install dependencies:
npm install
-
Configure environment variables: Add your Clerk, Stripe, and Cloudinary credentials in
.env.local
. -
Run the development server:
npm run dev
Access it at
http://localhost:3000
.
Set up your environment variables in .env.local
:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=clerk_publishable_key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
DATABASE_URL=your_database_uri
CLOUD_NAME=cloudinary_cloud_name
CLOUD_API_KEY=cloudinary_api_key
CLOUD_API_SECRET=cloudinary_api_secret
STRIPE_SECRET_KEY=
STRIPE_PUBLISHABLE_KEY=
Once installed, you can:
- 🔎 Explore Prompts: Browse prompt packs by popularity or style.
- 👤 Create a Profile: Register and authenticate through Clerk.
- 📤 Upload Prompts: Upload prompt images managed with Cloudinary.
- 💳 Purchase and Sell Prompts: Buy prompts using Stripe-powered payments.
Get a preview of PROMPTHUB in action:
This project is licensed under the MIT License. See the LICENSE file for more information.