Skip to content

AI SaaS platform built with the PERN stack, Clerk, and Neon. Includes AI tools like article/blog generators, image generator, background & object remover, and resume analyzer. Features secure authentication, subscription billing, and a scalable serverless PostgreSQL database.

Notifications You must be signed in to change notification settings

notramm/LumosAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LumosAI ⚑

AI-Powered Content Generation at Your Fingertips

Last Commit Languages License Version

Powered by cutting-edge technologies:

React Express PostgreSQL Node.js OpenAI Clerk

LIVE - DEMO 🌐

Visit the πŸ‘‰ LINK πŸ”—


Overview

LumosAI is a comprehensive AI SaaS platform that provides:

  • 🎨 AI Image Generation and Editing
  • πŸ“ Intelligent Content Creation
  • πŸ“„ Resume Review and Optimization
  • πŸ–ΌοΈ Background Removal and Object Removal
  • ✍️ Article and Blog Title Generation
  • πŸ‘₯ Community Sharing Features

Built with the PERN stack (PostgreSQL, Express, React, Node.js) and integrated with OpenAI's powerful AI models.


Key Features

πŸ€– AI-Powered Tools

  • Generate Images: Create stunning visuals from text prompts
  • Remove Background: Automatic background removal from images
  • Remove Objects: Clean up images by removing unwanted objects
  • Write Articles: AI-assisted article writing
  • Blog Titles: Generate engaging blog post titles
  • Review Resume: AI-powered resume analysis and suggestions

πŸ‘€ User Experience

  • Secure Authentication: Powered by Clerk
  • Dashboard: Central hub for all AI tools
  • Community: Share and discover creations
  • Responsive Design: Works on all devices
  • Real-time Processing: Instant AI results

πŸ›‘οΈ Enterprise Grade

  • Secure File Uploads: Cloudinary integration
  • PDF Processing: Resume analysis from PDF files
  • Scalable Architecture: Ready for high traffic
  • API First: RESTful API design

Tech Stack

Frontend (Client)

  • React - Latest React with concurrent features
  • Vite - Next-generation build tool
  • Tailwind CSS - Utility-first CSS framework
  • Axios - HTTP client for API calls
  • React Router DOM - Client-side routing
  • Lucide React - Beautiful icons
  • React Hot Toast - Notifications
  • React Markdown - Markdown rendering
  • Clerk - Authentication and user management

Backend (Server)

  • Node.js - JavaScript runtime
  • Express 5 - Web framework for Node.js
  • PostgreSQL - Relational database (via Neon)
  • OpenAI API - AI model integration
  • Cloudinary - Image and file management
  • Multer - File upload handling
  • CORS - Cross-origin resource sharing
  • PDF-Parse - PDF text extraction

DevOps & Deployment

  • Vercel - Frontend deployment
  • Neon - PostgreSQL hosting
  • Cloudinary - Media CDN
  • Clerk - Authentication service

Architecture

LumosAI/
β”œβ”€β”€ client/                 # React Frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ assets/        # Static assets
β”‚   β”‚   β”œβ”€β”€ components/    # Reusable components
β”‚   β”‚   β”‚   β”œβ”€β”€ AITools.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ CreationItem.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Footer.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Hero.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Navbar.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Plan.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Sidebar.jsx
β”‚   β”‚   β”‚   └── Testimonial.jsx
β”‚   β”‚   β”œβ”€β”€ pages/         # Route pages
β”‚   β”‚   β”‚   β”œβ”€β”€ BlogTitles.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Community.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Dashboard.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ GenerateImages.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Home.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ Layout.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ RemoveBackground.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ RemoveObject.jsx
β”‚   β”‚   β”‚   β”œβ”€β”€ ReviewResume.jsx
β”‚   β”‚   β”‚   └── WriteArticle.jsx
β”‚   β”‚   └── ...           # Config files
β”‚
β”œβ”€β”€ server/                # Express Backend
β”‚   β”œβ”€β”€ configs/          # Configuration files
β”‚   β”‚   β”œβ”€β”€ cloudinary.js # Cloudinary config
β”‚   β”‚   β”œβ”€β”€ db.js         # Database config
β”‚   β”‚   └── multer.js     # File upload config
β”‚   β”œβ”€β”€ controllers/      # Business logic
β”‚   β”‚   β”œβ”€β”€ aiController.js
β”‚   β”‚   └── userController.js
β”‚   β”œβ”€β”€ middlewares/      # Custom middlewares
β”‚   β”‚   └── auth.js
β”‚   β”œβ”€β”€ routes/           # API routes
β”‚   β”‚   β”œβ”€β”€ aiRoutes.js
β”‚   β”‚   └── userRoutes.js
β”‚   └── server.js         # Server entry point

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm (v8 or higher)
  • PostgreSQL database (Neon recommended)
  • OpenAI API account
  • Cloudinary account
  • Clerk account

Installation

  1. Clone the repository:
git clone https://github.com/notramm/LumosAI
cd LumosAI
  1. Install client dependencies:
cd client && npm install
  1. Install server dependencies:
cd ../server && npm install

Environment Variables

  1. Start the development servers:
# Terminal 1 - Start backend
cd server && npm run server

# Terminal 2 - Start frontend
cd client && npm run dev

AI Capabilities

🎨 Image Generation

  • Text-to-image conversion using DALL-E
  • Customizable image styles and sizes
  • High-resolution output

πŸ–ΌοΈ Image Editing

  • Background removal with precision
  • Object removal and cleanup
  • Batch processing support

πŸ“ Content Creation

  • Article writing with tone control
  • Blog title generation
  • SEO optimization suggestions

πŸ“„ Document Processing

  • Resume analysis and scoring
  • Skills gap identification
  • Improvement recommendations
  • PDF text extraction

API Endpoints

AI Routes (/api/ai)

Method Endpoint Description
POST /generate-image Generate images from text
POST /remove-background Remove image backgrounds
POST /remove-object Remove objects from images
POST /write-article Generate article content
POST /generate-titles Create blog post titles
POST /review-resume Analyze and score resumes

User Routes (/api/users)

Method Endpoint Description
GET /profile Get user profile
POST /creations Save user creations
GET /creations Get user's creations
GET /community Get community creations

Backend (Render/Vercel)

Deploy with environment variables configured for:

  • Neon PostgreSQL database
  • OpenAI API keys
  • Cloudinary credentials
  • Clerk secrets

Database (Neon)

# Recommended: Neon PostgreSQL
https://neon.tech/

Performance

  • ⚑ Lighthouse Score: 95+
  • πŸ“¦ Optimized Bundle Size
  • πŸš€ Fast AI Processing
  • πŸ“± Mobile Responsive
  • πŸ”’ Secure Authentication

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

LumosAI - Supercharge your creativity with AI! πŸš€

Built with ❀️ using the PERN stack and cutting-edge AI technologies.

About

AI SaaS platform built with the PERN stack, Clerk, and Neon. Includes AI tools like article/blog generators, image generator, background & object remover, and resume analyzer. Features secure authentication, subscription billing, and a scalable serverless PostgreSQL database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages