Skip to content

About

A full-stack application that provides AI-powered code analysis.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

AI Code Assistant

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.

Project Structure

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.

Features

  • 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.

Tech Stack

  • Frontend: React, TypeScript, Tailwind CSS, Lucide React.
  • Backend: Node.js, Express, TypeScript, tsx, dotenv.
  • AI Engine: Groq SDK (Model: llama-3.3-70b-versatile).

Getting Started

Prerequisites

Installation

  1. 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
  2. Setup the Backend:

    cd backend
    npm install
    • Create a .env file in the backend/ directory:
      GROQ_API_KEY=your_actual_groq_key_here
      PORT=3001
    • Start the server:
      npm run dev
  3. Setup the Frontend:

    cd ../frontend
    npm install
    npm run dev

Security Note

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.

License

This project was developed for educational purposes as an AI assistant experiment.


Developed by Tais Bronca 💻

About

A full-stack application that provides AI-powered code analysis.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages