This project has been reorganized for better maintainability and clarity. Hereβs the new structure:
linkedin-agent/
βββ π backend/ # Core LinkedIn scraping engine
β βββ src/ # Main Python source code
β βββ tests/ # Backend tests
β βββ requirements.txt # Python dependencies
β βββ Dockerfile # Backend container
βββ π frontend/ # React admin dashboard
β βββ src/ # React components
β βββ package.json # Frontend dependencies
β βββ Dockerfile # Frontend container
βββ π infrastructure/ # Deployment & DevOps
β βββ docker/ # Docker configurations
β βββ scripts/ # Utility scripts
β βββ monitoring/ # Monitoring configs
βββ π docs/ # Documentation
βββ π examples/ # Sample inputs & configs
βββ π storage/ # Runtime data (gitignored)
# Backend only
cd backend && make dev
# Full stack (backend + frontend)
make fullstack-dev
# Production
make deploy
make help # Show all available commands
make status # Check service status
make logs # View logs
make backup # Create backup
/backend)The core LinkedIn scraping engine with multiple entry points:
python -m src.cli input.json/frontend)React-based admin dashboard for:
/infrastructure)All deployment and operational concerns:
/examples)Sample configurations and inputs:
If youβre coming from the old structure:
/src to /backend/src/infrastructure/docker/infrastructure/scripts/examples# Copy example environment
cp examples/env.example .env
# Set up development
make setup-dev
# Start services
make dev
This reorganization achieves:
docs/ARCHITECTURE.md - System design and componentsdocs/API.md - API documentationdocs/DEPLOYMENT.md - Deployment guidesdocs/DEVELOPMENT.md - Development workflowexamples/ - Sample configurations and inputs/backend/src/frontend/src/infrastructuremake test in respective directoriesmake deploy for productionThis structure makes the project much more manageable and professional!