A professional full-stack application that provides AI-powered code analysis. It helps developers review code, generate documentation, and optimize performance using the Groq Cloud API with Llama 3 models.
This project is organized as a monorepo:
frontend/: React application built with TypeScript, Tailwind CSS, and Lucide Icons.backend/: Node.js API built with Express, TypeScript, and Groq SDK.
- Code Review: Detailed analysis of bugs, best practices, and security issues.
- Generate Docs: Auto-generation of comprehensive JSDoc-style documentation.
- Optimize Code: Refactored code suggestions with performance improvements.
- Multilingual Support: Switch between English and Portuguese interfaces.
- Frontend: React, TypeScript, Tailwind CSS, Lucide React.
- Backend: Node.js, Express, TypeScript,
tsx,dotenv. - AI Engine: Groq SDK (Model:
llama-3.3-70b-versatile).
- Node.js: v18 or higher.
- Groq API Key: Get your free key at console.groq.com.
-
Clone the repository:
git clone [https://github.com/taisbronca/ai-code-assistant.git](https://github.com/taisbronca/ai-code-assistant.git) cd ai-code-assistant -
Setup the Backend:
cd backend npm install- Create a
.envfile in thebackend/directory:GROQ_API_KEY=your_actual_groq_key_here PORT=3001
- Start the server:
npm run dev
- Create a
-
Setup the Frontend:
cd ../frontend npm install npm run dev
The .env file is included in the .gitignore to protect sensitive information. Never share your GROQ_API_KEY publicly. If you are deploying this project, remember to set the environment variables in your hosting provider's dashboard.
This project was developed for educational purposes as an AI assistant experiment.
Developed by Tais Bronca 💻