Skip to content

An AI-powered SaaS platform for article writing, image tools and content enhancement

License

Notifications You must be signed in to change notification settings

sandip387/Nexora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Nexora - AI Content Creation Platform

Transform your content creation with our suite of premium AI tools

React Node.js PostgreSQL License


🌟 Overview

Nexora is a comprehensive AI-powered SaaS platform that revolutionizes content creation. Built with modern technologies and powered by cutting-edge AI APIs, Nexora provides users with a suite of tools to generate articles, create images, enhance content, and much more.

✨ Why Nexora?

  • πŸ€– AI-Powered: Leverage the latest AI technologies including Gemini and ClipDrop
  • 🎨 Modern UI/UX: Beautiful, responsive design built with Tailwind CSS
  • πŸ” Secure Authentication: Powered by Clerk with premium plan support
  • πŸ“± Responsive: Works seamlessly on desktop, tablet, and mobile
  • ⚑ Fast & Reliable: Built with performance and scalability in mind

πŸš€ Features

πŸ“ Content Creation

  • AI Article Writer: Generate high-quality, engaging articles on any topic
  • Blog Title Generator: Create catchy, SEO-friendly blog titles
  • Resume Reviewer: Get AI-powered feedback on your resume

🎨 Image Tools

  • AI Image Generation: Create stunning visuals with text prompts
  • AI Image Enhancement: Enhance image quality and clarity
  • Background Removal: Remove backgrounds from images effortlessly
  • Object Removal: Seamlessly remove unwanted objects from photos

πŸ‘₯ Community & Social

  • Community Gallery: Share and discover AI-generated content
  • Like System: Engage with community creations
  • User Dashboard: Track your creations and usage

⚑ Quick Start

1. Clone the Repository

git clone https://github.com/yourusername/nexora.git
cd nexora

2. Install Dependencies

Frontend:

cd client
npm install

Backend:

cd server
npm install

3. Environment Setup

Frontend(.env):

VITE_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
VITE_BASE_URL=http://localhost:3000

# Image Enhancement API
VITE_ENHANCE_API_KEY=your_enhance_api_key
VITE_ENHANCE_BASE_URL=https://techhk.aoscdn.com

Backend (.env):

# Database
DATABASE_URL=your_postgresql_connection_string

# Authentication
CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key

# AI Services
NEXORA_GEMINI_API_KEY=your_gemini_api_key
CLIPDROP_API_KEY=your_clipdrop_api_key


# Image Storage
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret

4. Database Setup

Create the required tables in your PostgreSQL database:

CREATE TABLE creations (
id SERIAL PRIMARY KEY,
user_id VARCHAR(255) NOT NULL,
prompt TEXT NOT NULL,
content TEXT NOT NULL,
type VARCHAR(50) NOT NULL,
publish BOOLEAN DEFAULT FALSE,
likes TEXT[] DEFAULT '{}',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

5. Run the Application

Backend(Terminal 1):

cd server
node --watch server.js

Frontend(Terminal 2):

cd client
npm run dev

Visit http://localhost:5173 to see the application in action! πŸŽ‰


πŸ”§ Configuration

API Keys Setup

  1. Clerk Authentication

    • Create an account at clerk.com
    • Get your publishable and secret keys
    • Configure premium plans
  2. Google Gemini AI

  3. ClipDrop API

  4. Cloudinary

    • Create an account at Cloudinary
    • Get your cloud name, API key, and secret
  5. Neon Database

    • Create a database at Neon
    • Get the connection string
  6. PicWish API

    • Register at PicWish
    • Get your API key

πŸ“Š Project Structure

client/
β”œβ”€β”€ public/                 # Static assets
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/             # Images, icons, static data
β”‚   β”œβ”€β”€ components/         # Reusable UI components
β”‚   β”œβ”€β”€ pages/              # Route components
β”‚   β”œβ”€β”€ utils/              # Utility functions
β”‚   β”œβ”€β”€ App.jsx             # Main app component
β”‚   └── main.jsx            # App entry point
└── package.json

server/
β”œβ”€β”€ configs/                # Configuration files
β”‚   β”œβ”€β”€ cloudinary.js       # Cloudinary setup
β”‚   β”œβ”€β”€ db.js               # Database connection
β”‚   └── multer.js           # File upload config
β”œβ”€β”€ controllers/            # Route handlers
β”‚   β”œβ”€β”€ aiController.js     # AI-related endpoints
β”‚   └── userController.js   # User-related endpoints
β”œβ”€β”€ middlewares/            # Custom middleware
β”‚   └── auth.js             # Authentication middleware
β”œβ”€β”€ routes/                 # API routes
β”‚   β”œβ”€β”€ aiRoutes.js         # AI tool routes
β”‚   └── userRoutes.js       # User routes
β”œβ”€β”€ server.js               # Express server setup
└── package.json

🀝 Contributing

We welcome contributions!

Development Workflow

  1. Fork the repository

  2. Create a feature branch:

    git checkout -b feature/amazing-feature
  3. Commit your changes:

    git commit -m "Add amazing feature"
  4. Push to the branch:

    git push origin feature/amazing-feature
  5. Open a Pull Request.

Code Style

  • Use ESLint configuration provided
  • Follow existing code patterns
  • Write meaningful commit messages
  • Add comments for complex logic

License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments

Made with ❀️ by Sandip Shrestha

⭐ Star this repo if you found it helpful!

About

An AI-powered SaaS platform for article writing, image tools and content enhancement

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages