Skip to content
/ GPTLab Public

All-in-one AI web app: ChatGPT-like chat, AI image & article generation, background removal and more..

Notifications You must be signed in to change notification settings

iamJ3/GPTLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GPTLab

AI-powered content creation platform. Generate articles, blog titles, images, and get resume feedback.

Images

image image image image image

Quick Start

Prerequisites

  • Node.js v18+
  • PostgreSQL
  • API keys: Clerk, Gemini, Cloudinary, Clipdrop

Setup

1. Backend

cd server
npm install
cp .env.example .env

Edit .env with your keys:

PORT=8000
DATABASE_URL=postgresql://user:pass@localhost/gptlab
CLERK_API_KEY=your_key
GEMINI_API_KEY=your_key
CLIPDROP_API_KEY=your_key
CLOUDINARY_NAME=your_name
CLOUDINARY_API_KEY=your_key
CLOUDINARY_API_SECRET=your_secret
FRONTEND_URL=http://localhost:5173

Then start:

npm start

2. Frontend (new terminal)

cd client
npm install
cp .env.example .env.local

Edit .env.local:

VITE_API_URL=http://localhost:8000
VITE_CLERK_PUBLISHABLE_KEY=your_key

Then start:

npm run dev

Tech Stack

  • Frontend: React, Vite, Tailwind CSS, Clerk
  • Backend: Node.js, Express, PostgreSQL
  • AI: Google Gemini, Cloudinary

API Endpoints

  • POST /api/ai/generate-article - Generate article
  • POST /api/ai/generate-blog-title - Generate blog titles
  • POST /api/ai/generate-image - Generate image (Premium)
  • POST /api/ai/remove-background - Remove background (Premium)
  • POST /api/ai/remove-object - Remove object (Premium)
  • POST /api/ai/resume-review - Review resume (Premium)

Features

  • Article & blog title generation with Gemini API
  • Image generation and manipulation with Cloudinary
  • AI-powered resume analysis
  • Free tier (10 calls/month) and Premium tier
  • Clerk authentication

Deployment

Frontend: Vercel
Backend: Render or Railway
Database: Neon PostgreSQL

About

All-in-one AI web app: ChatGPT-like chat, AI image & article generation, background removal and more..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages