An AI-powered content generation web app built with Next.js — allowing users to generate social media content (Twitter Threads, Instagram Captions, LinkedIn Posts), manage history, and handle authentication, payments, and email notifications.
-
Framework: Next.js 15
-
Database: PostgreSQL
with Neon (serverless PostgreSQL) + Drizzle ORM -
Authentication: Clerk
-
Payments: Stripe
-
Emails: Mailtrap
(used temporarily since I don't have a custom domain yet)
1.AI content generation using Google Generative AI (Gemini)
-
Twitter, Instagram, and LinkedIn content formats
-
User authentication (Sign in / Sign up) via Clerk
-
Points-based system (users use points to generate content)
-
Stripe payments to buy more points
-
Content history and management
-
Email notifications via Mailtrap
git clone https://github.com/biswajit-sarkar-007/hello_ai_01.git
cd hello_ai_01
npm install
Create a .env.local file:
NEXT_PUBLIC_GEMINI_API_KEY=your_google_gemini_api_key
STRIPE_SECRET_KEY=your_stripe_secret_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
DATABASE_URL=your_postgres_neon_db_url
CLERK_SECRET_KEY=your_clerk_secret_key
CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
MAILTRAP_USER=your_mailtrap_username
MAILTRAP_PASS=your_mailtrap_password
npm run dev
usd the *********3e08.ngrok.free.app/ link in clerk endpoins and clerk endponits also with at the end ******ngrok.free.app/api/webhooks/clerk or *****ngrok.free.app/api/webhooks/stripe
The project is deployed on Vercel, with the following services connected:
1.Neon (PostgreSQL)
2.Stripe (for payments)
3.Clerk (auth)
4.Mailtrap (email sandbox for testing)
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
Made By :
Biswajit Sarkar