-
-
Notifications
You must be signed in to change notification settings - Fork 1
Developer Guide
Yiğit ERDOĞAN edited this page Jan 11, 2026
·
1 revision
Thank you for your interest in contributing to CodeScope! This guide will help you set up your development environment and understand our workflow.
Follow the Installation Guide to install Python, Node.js, and Ollama.
Fork the repository on GitHub and clone your fork:
git clone https://github.com/YOUR_USERNAME/CodeScope.git
cd CodeScopeWe use pre-commit to ensure code quality.
pip install pre-commit
pre-commit installThe backend is built with FastAPI.
- Environment: Create a virtual environment as described in the Getting Started guide.
- Coding Standards: Follow PEP 8 for Python code.
-
Adding Endpoints: Endpoints should be defined in
backend/main.py(or split into routers for larger features). -
Testing: (Coming soon) We use
pytestfor backend testing.
The frontend is built with Next.js 14.
-
Environment: Run
npm installin thefrontend/directory. - Components: We use Tailwind CSS and Radix UI (via Shadcn/UI).
- State Management: We use React's built-in state and context for simplicity.
- Issue: Find an issue to work on or open a new one to discuss your idea.
-
Branch: Create a feature branch (
feat/your-featureorfix/your-fix). -
Commit: Write descriptive commit messages following Conventional Commits (e.g.,
feat: add support for Rust files). - Push: Push your branch to your fork.
-
PR: Open a Pull Request against the
mainbranch of the official repository.
CodeScope/
├── backend/ # FastAPI source code
│ ├── chroma_db/ # Vector database storage (git-ignored)
│ └── main.py # Main entry point
├── frontend/ # Next.js source code
│ ├── app/ # App Router pages
│ └── components/ # React components
└── README.md
- Architecture Details: Architecture
- API Reference: API Reference
- Best Practices: Best Practices