Documentation Index
Fetch the complete documentation index at: https://docs.thesozocrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Welcome to Elevate CRM Development!
Welcome to the team! This guide will get you from zero to productive in your first week.Quick Start Checklist
Day 1: Setup (2-3 hours)
Day 1: Setup (2-3 hours)
- Get Firebase project access
- Clone repository
- Install dependencies
- Run local dev server
- Make first test commit
Week 1: Learn & Explore
Week 1: Learn & Explore
- Complete architecture walkthrough
- Review coding standards
- Complete first tutorial task
- Pair program with senior dev
- Submit first pull request
Day 1: Getting Started
Step 1: Access & Accounts (30 minutes)
Linear Workspace Access
Firebase Console Access
GitHub Access
Step 2: Development Environment Setup (1 hour)
IDE Setup (VS Code / Cursor)
Recommended: Use Cursor (AI-powered IDE) or VS Code with extensions
- ESLint (code linting)
- Prettier (code formatting)
- React snippets
- Firebase (Firebase tools)
- GitLens (Git integration)
.vscode/settings.json):
Required Software
Check Versions
Install Dependencies
Install
Environment Configuration
Environment Setup
Getting Environment Variables:
- See
env.development.templatein the repo root for all available variables - Contact chandlerking@elevateyouenterprise.com for actual API keys and Firebase config values
- For Firebase Secrets Manager setup, see
docs/API_KEYS_SETUP.mdin the repository
Step 3: Run the Application (30 minutes)
Start Development Server
Verify Setup
Open Browser
Navigate to http://localhost:3000
Success! If you can see the dashboard, your setup is complete!
Week 1: Learning the Codebase
Architecture Overview
Tech Stack
Frontend
- React 18
- Redux Toolkit
- TanStack Query
- Tailwind CSS
Backend
- Firebase Auth
- Cloud Firestore
- Cloud Functions
- Cloud Storage
Dev Tools
- Linear (Issues & Sprints)
- GitHub (Code & PRs)
- Sentry (Error Monitoring)
Forms & Validation
- React Hook Form
- Zod validation
Project Structure
Directory Structure
Key Concepts
1. Role-Based Access ControlAdmin
Full access to everything
Manager
Team management + deal oversight
Rep
Own deals + team data
Commission Formula
Coding Standards
Using Cursor AI? Check out our comprehensive Cursor AI & Clean Code Guide for best practices on using AI coding assistants while maintaining code quality.
File Naming
- Components:
PascalCase.jsx(e.g.,DealCard.jsx) - Utilities:
camelCase.js(e.g.,formatCurrency.js) - Constants:
UPPER_SNAKE_CASE.js(e.g.,API_ENDPOINTS.js) - Hooks:
use*.js(e.g.,useDeals.js)
Component Structure
Component Template
Best Practices
✅ DO These Things
✅ DO These Things
- Use React Hook Form for forms
- Validate with Zod schemas
- Handle loading states
- Show user feedback (toasts/alerts)
- Use explicit undefined checks:
value !== undefined ? value : default - Add error boundaries
- Write tests for business logic
❌ DON'T Do These Things
❌ DON'T Do These Things
- Use
var(useconst/let) - Mutate state directly
- Use
.toLower()in Firebase rules (use.lower()) - Access production data from dev
- Push directly to
mainbranch - Ship with
console.logstatements - Use falsy checks for numbers:
value || default(use explicit checks)
Tutorial Tasks
Task 1: Fix a Simple Bug (1-2 hours)
Goal: Get familiar with the codebase and PR processTask 2: Add a Feature Enhancement (2-3 hours)
Goal: Learn the feature development workflow Example Task: Add a “Copy to Clipboard” button for deal IDsTask 3: Write Tests (2-3 hours)
Goal: Learn the testing approachWrite Test Cases
Write tests for:
- Happy path
- Edge cases (0, negative, very large numbers)
- Invalid input
Development Workflow
Daily Workflow
Daily Git Workflow
Branch Naming Convention
feature/- New featuresfix/- Bug fixesrefactor/- Code refactoringdocs/- Documentationtest/- Test additions
Commit Message Format
feat, fix, refactor, docs, test, chore
Pull Request Process
Tools & Resources
Development Tools
Team Members: You’ll receive access links to all tools on your first day:
- Linear - Issue tracking and sprints
- Firebase Console - Backend management
- GitHub - Code repository
- Sentry - Error monitoring
Communication
Email Support
Documentation
- API Docs: API Reference
- Team Workflow: Workflow Guide
- Cursor AI Guide: Cursor & Clean Code Guide
- Testing Strategy: See
SAFE_TESTING_STRATEGY.mdin repo root - Security Guide: See
SECURITY_IMPLEMENTATION_COMPLETE.mdin repo root - Project Docs: Check
/docsfolder for feature-specific documentation
Common Tasks
Running Tests
Debugging
React DevTools
Firebase Debugging
Common Issues
Permission denied errors
Permission denied errors
Fix: Make sure you’re using
dev projectModule not found errors
Module not found errors
Fix: Delete
node_modules and reinstallBuild errors after pulling latest
Build errors after pulling latest
Fix: Clear cache and rebuild
Port 3000 already in use
Port 3000 already in use
Fix: Kill the process or use a different port
Firebase authentication errors
Firebase authentication errors
Fix: Re-login to Firebase
Git push rejected
Git push rejected
Fix: Pull latest changes first
Getting Help
Before Asking
- Check documentation (especially
docs/folder) - Search existing GitHub issues
- Google the error message
- Try debugging for 15-20 minutes
When Asking
Be specific! Instead of:“The deal page isn’t working”Say:
“When I click ‘Save Deal’ on the Edit Deal page, I get a 403 error in the console. I’m logged in as a test rep account. Screenshot attached.”
Who to Ask
Code Questions
Bug Reports
Create Linear issue with
bug labelFeature Requests
Create Linear issue with
feature labelUrgent Issues
Email + Linear issue with
urgent labelYour First Week Schedule
Tuesday-Wednesday
- ✅ Read architecture docs
- ✅ Complete Tutorial Task 1
- ✅ Pair program with senior dev
Success Metrics
Week 1 Goals
- Local development environment working
- First PR merged
- Understand basic architecture
- Know where to find help
Month 1 Goals
- Completed 5+ PRs
- Can work independently on small tasks
- Understand commission calculations
- Contributing to code reviews
Month 3 Goals
- Leading feature development
- Mentoring newer devs
- Contributing to architecture decisions
- Shipping high-quality code consistently
Welcome Aboard! 🎉
You’re joining a growing team building a product that helps solar reps succeed. Your contributions matter! Questions? Ask early and often. We’re here to help!Need Help?
Quick Reference
Essential Commands
Common File Locations
| What | Where |
|---|---|
| Components | src/features/[feature]/components/ |
| Services | src/shared/services/ or src/features/[feature]/services/ |
| Hooks | src/features/[feature]/hooks/ or src/shared/hooks/ |
| Firebase Config | src/firebase/firebaseConfig.js |
| Firestore Rules | firestore.rules |
| Firestore Indexes | firestore.indexes.json |
| Environment Variables | .env.local |
| Documentation | docs/ folder |
Keyboard Shortcuts
VS Code / Cursor:Cmd/Ctrl + P- Quick file openCmd/Ctrl + Shift + P- Command paletteCmd/Ctrl + B- Toggle sidebarCmd/Ctrl + \- Split editorCmd/Ctrl + Shift + F- Search in filesF12- Go to definitionShift + F12- Find all references
Cmd/Ctrl + Shift + I- Open DevToolsCmd/Ctrl + R- Hard refreshCmd/Ctrl + Shift + R- Clear cache and refresh
Useful Links
Firebase Console
Backend management
Linear Workspace
Issue tracking (check email for invite)
GitHub Repository
Code repository
Sentry
Error monitoring
Last Updated: November 12, 2025
Maintained By: Development Team
Need Updates? Submit a PR to this doc!

