AI-Powered Code Documentation and Summarization Tool
- 🧠 Automated Documentation: Generate detailed docs for any codebase.
- 📝 Code Summarization: Get concise summaries of complex logic.
- Backend: FastAPI (Python)
- Frontend: React (JavaScript)
- AI Models: Vertex AI ( BART)
- Deployment: Google Cloud Platform (GCP)
- Python 3.9+
- Node.js 18+
- Google Cloud Account
- 
Clone the repository: git clone https://github.com/yourusername/codeclarity.git cd codeclarity
- 
Set up the backend: cd backend pip install -r requirements.txt
- 
Set up the frontend: cd frontend npm install
- 
Start the backend: cd backend uvicorn app.main:app --reload
- 
Start the frontend: cd frontend npm start
- 
Open http://localhost:3000in your browser.
Create a .env file in the backend directory:
GCP_PROJECT=your-project-id
GCP_REGION=us-central1
GCP_CREDENTIALS=./credentials/service-account.json- 
Build Docker images: docker build -t codeclarity-backend ./backend docker build -t codeclarity-frontend ./frontend 
- 
Deploy to Google Cloud Run: gcloud run deploy codeclarity-backend --image codeclarity-backend gcloud run deploy codeclarity-frontend --image codeclarity-frontend 
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature 
- Commit your changes:
git commit -m "Add your feature"
- Push to the branch:
git push origin feature/your-feature 
- Open a pull request.
This project is licensed under the MIT License. See LICENSE for details.