Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 AI Tools App

A comprehensive suite of AI-powered tools built with React and Google's Generative AI

Live Demo Backend API

✨ Features

This AI Tools App provides five powerful AI-driven features:

📝 Text Summarizer

  • Summarizes long texts into concise, readable summaries
  • Perfect for articles, documents, and research papers

🖼️ Image Captioner

  • Generates detailed descriptions of uploaded images
  • Supports multiple image formats (JPG, PNG, WebP, etc.)

🌍 Language Translator

  • Translates text between multiple languages
  • Powered by Google's advanced translation capabilities

💻 Code Explainer

  • Explains code snippets in simple, understandable terms
  • Supports multiple programming languages
  • Line-by-line code analysis

🔍 Visual Q&A

  • Ask questions about uploaded images
  • Get intelligent answers based on image content
  • Interactive image analysis

🛠️ Tech Stack

Frontend

  • React 19 - Modern React with latest features
  • Vite - Fast build tool and dev server
  • Tailwind CSS - Utility-first CSS framework
  • Axios - HTTP client for API requests
  • React Icons - Beautiful icon library

Backend

  • Node.js - JavaScript runtime
  • Express.js - Web framework
  • Google Generative AI - AI/ML capabilities
  • CORS - Cross-origin resource sharing
  • dotenv - Environment variable management

Deployment

🌐 Live Demo

Frontend: https://ai-tools-frontend-iota.vercel.app

Backend API: https://ai-tools-backend-m520.onrender.com

🚀 Deployment Status

  • Frontend: Successfully deployed on Vercel
  • Backend: Successfully deployed on Render
  • API Integration: All endpoints working correctly
  • CORS: Properly configured for cross-origin requests

📋 Prerequisites

Before running this project, make sure you have:

  • Node.js (v16 or higher)
  • npm or yarn
  • Google AI Studio API Key (Get one here)

🚀 Quick Start

1. Clone the Repository

git clone https://github.com/BrajamohanDas-afk/Ai-Tools-App.git
cd Ai-Tools-App

2. Set Up the Backend

cd Backend
npm install

# Create .env file
echo "GOOGLE_API_KEY=your_google_api_key_here" > .env

# Start the server
npm start
# or
node server.js

3. Set Up the Frontend

cd ../client
npm install

# Start the development server
npm run dev

4. Open Your Browser

Visit http://localhost:5173 to see the app in action!

📁 Project Structure

Ai-Tools-App/
├── Backend/
│   ├── server.js          # Express server
│   ├── package.json       # Backend dependencies
│   └── .env              # Environment variables
├── client/
│   ├── src/
│   │   ├── components/    # React components
│   │   │   ├── Summarizer.jsx
│   │   │   ├── ImageCaptioner.jsx
│   │   │   ├── Translator.jsx
│   │   │   ├── CodeExplainer.jsx
│   │   │   ├── VisualQA.jsx
│   │   │   ├── Navbar.jsx
│   │   │   └── Sidebar.jsx
│   │   ├── config/
│   │   │   └── api.js      # API configuration
│   │   ├── App.jsx        # Main app component
│   │   └── main.jsx       # Entry point
│   ├── package.json       # Frontend dependencies
│   └── vite.config.js     # Vite configuration
└── README.md

🔧 Environment Variables

Create a .env file in the Backend directory:

GOOGLE_API_KEY=your_google_generative_ai_api_key
PORT=3000

📡 API Endpoints

Method Endpoint Description
GET / Health check
POST /summarize Summarize text
POST /caption Generate image captions
POST /translate Translate text
POST /explain-code Explain code snippets
POST /visual-qa Visual question answering

🤝 Contributing

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

📝 License

This project is open source and available under the MIT License.

👨‍💻 Author

Brajamohan Das

🙏 Acknowledgments

  • Google AI for the Generative AI API
  • React for the amazing frontend framework
  • Vercel for frontend hosting
  • Render for backend hosting

⭐ If you found this project helpful, please give it a star!

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages