
NeuPrompt
AI Prompt Sharing & Marketplace Platform
Overview
NeuPrompt is a full-stack web application developed for AI prompt sharing, organization, and discovery. User authentication is managed through Better Auth, providing secure Email/Password login and Google OAuth with persistent session control. Platform members can explore public AI prompts, perform search and category filtering, bookmark favorite prompts for quick retrieval, and publish custom prompt entries. To facilitate premium membership features, NeuPrompt integrates Stripe Checkout to unlock specialized prompt tools and exclusive content access. The system provides dedicated role-based dashboards for users and administrators to manage prompts, oversee site activity, and view billing history with downloadable PDF invoices generated on demand. Built with an Express.js and MongoDB REST API backend, NeuPrompt connects to a Next.js frontend built with HeroUI, Tailwind CSS, and Framer Motion.
Technologies Used
Key Features
Create, edit, delete, and manage custom AI prompts
Bookmark favorite prompts and copy prompt content with one click
Search, category filtering, sorting, and pagination for prompt discovery
Better Auth authentication supporting Email/Password and Google OAuth
Premium membership subscriptions integrated with Stripe Checkout
Role-based dashboards for user management and PDF invoice downloads
Challenges & Solutions
- Configuring Stripe webhook handling to reliably sync subscription status updates with MongoDB Atlas records.
- Implementing role-based middleware to enforce permission controls across administrative routes and premium content.
Key Takeaways & Learnings
- Handling asynchronous Stripe Checkout webhooks and user membership lifecycle state management.
- Creating dynamic PDF invoice streams programmatically on the Node.js backend using PDFKit.
- Designing scalable role-based SaaS applications with secure authentication and subscription workflows.