- Node.js (v14+)
- npm/yarn
- Git
git clone https://github.com/your-username/CodeConclave.git
cd CodeConclave
git remote add upstream https://github.com/lukiod/CodeConclave.git
cd client
npm install
npm run devfeature/feature-namebugfix/issue-descriptionrefactor/component-name
git fetch upstream
git checkout main
git merge upstream/main
git checkout feature/your-branch
git rebase mainsrc/
├── components/
├── contexts/
├── hooks/
├── pages/
├── services/
└── utils/
- Components:
PascalCase - Files:
kebab-case - Variables:
camelCase - Constants:
SCREAMING_SNAKE_CASE
// External libraries
import React, { useState } from 'react';
import styled from 'styled-components';
// Internal hooks/contexts
import { useAuth } from '../contexts/AuthContext';
// Services/utils
import { apiService } from '../services/api';
// Components
import Button from '../components/Button';- Create new components instead of modifying existing ones
- Use composition over modification
- Keep components in feature-specific folders
# After pulling changes
rm package-lock.json
npm install
git add package-lock.json
git commit -m "chore: update dependencies"- Don't create multiple editor instances
- Clean up properly in useEffect
- Check if languages are registered before adding
git fetch upstream && git rebase upstream/main
npm test
npm run build
npm run lintTitle: type(scope): description
feat(editor): add syntax highlightingfix(ui): resolve mobile layout issue
Include:
- What changed and why
- How to test
- Screenshots for UI changes
npm test # Run tests
npm run build # Test build
npm run dev # Test locally- Use unique component names
- Avoid global styles
- Delete package-lock.json and reinstall after pulling
- Don't manually edit lock files
- Open GitHub Issues for bugs
- Use Discussions for questions
- Tag maintainers for merge conflict help
Quick Start: Fork → Clone → Install → Create branch → Make changes → Test → PR