A comprehensive suite of AI-powered tools built with React and Google's Generative AI
This AI Tools App provides five powerful AI-driven features:
- Summarizes long texts into concise, readable summaries
- Perfect for articles, documents, and research papers
- Generates detailed descriptions of uploaded images
- Supports multiple image formats (JPG, PNG, WebP, etc.)
- Translates text between multiple languages
- Powered by Google's advanced translation capabilities
- Explains code snippets in simple, understandable terms
- Supports multiple programming languages
- Line-by-line code analysis
- Ask questions about uploaded images
- Get intelligent answers based on image content
- Interactive image analysis
- 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
- Node.js - JavaScript runtime
- Express.js - Web framework
- Google Generative AI - AI/ML capabilities
- CORS - Cross-origin resource sharing
- dotenv - Environment variable management
Frontend: https://ai-tools-frontend-iota.vercel.app
Backend API: https://ai-tools-backend-m520.onrender.com
- β Frontend: Successfully deployed on Vercel
- β Backend: Successfully deployed on Render
- β API Integration: All endpoints working correctly
- β CORS: Properly configured for cross-origin requests
Before running this project, make sure you have:
- Node.js (v16 or higher)
- npm or yarn
- Google AI Studio API Key (Get one here)
git clone https://github.com/BrajamohanDas-afk/Ai-Tools-App.git
cd Ai-Tools-Appcd Backend
npm install
# Create .env file
echo "GOOGLE_API_KEY=your_google_api_key_here" > .env
# Start the server
npm start
# or
node server.jscd ../client
npm install
# Start the development server
npm run devVisit http://localhost:5173 to see the app in action!
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
Create a .env file in the Backend directory:
GOOGLE_API_KEY=your_google_generative_ai_api_key
PORT=3000| 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 |
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
Brajamohan Das
- GitHub: @BrajamohanDas-afk
- Email: brajamohandas0390@gmail.com
- 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!