Welcome to PromptStore, a cutting-edge, full-stack marketplace designed for the burgeoning AI economy. This platform empowers creators to monetize their prompt engineering skills while providing users with a curated library of high-quality prompts for models like GPT-4, Midjourney, and Claude.
Built with a serverless-first architecture, PromptStore ensures scalability, speed, and cost-efficiency.
PromptStore is built using a modern, performant stack:
- Frontend: Next.js (React) with Tailwind CSS for a responsive, sleek UI.
- Backend: Serverless Functions (Node.js/TypeScript).
- Database: Prisma ORM with a scalable PostgreSQL/PlanetScale instance.
- Authentication: NextAuth.js or Clerk for secure user management.
- Payments: Stripe Integration for seamless buyer-to-seller transactions.
- Deployment: Vercel for high-availability hosting.
- Browse & Filter: Discover prompts by category (Art, Marketing, Coding) or specific AI model.
- User Dashboard: Sellers can track sales, manage listings, and view analytics.
- Secure Checkout: Integrated payment processing with instant access to purchased prompts.
- Responsive Design: Fully optimized for mobile, tablet, and desktop browsing.
- Serverless Efficiency: Optimized API routes for lightning-fast performance without the overhead of a traditional server.
The project follows a modular, full-stack architecture designed for rapid iteration:
Note: The serverless approach allows the application to scale to zero when not in use, significantly reducing operational costs while maintaining the ability to handle traffic spikes.
- Node.js (v18 or higher)
- npm / yarn / pnpm
- A database instance (PostgreSQL recommended)
-
Clone the repository:
git clone [https://github.com/raymondoyondi/PromptStore.git](https://github.com/raymondoyondi/PromptStore.git) cd PromptStore -
Install dependencies:
npm install
-
Environment Variables: Create a
.envfile in the root directory and add your credentials:DATABASE_URL="your-database-url" NEXTAUTH_SECRET="your-secret" STRIPE_SECRET_KEY="your-stripe-key"
-
Run migrations:
npx prisma migrate dev
-
Start the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.