Skip to content

rdhdchloe/slack-notion-task-app

Repository files navigation

task_app/                           # Root project directory
├── .env                           # Environment variables
├── .env.example                   # Example environment file
├── .gitignore                     # Git ignore file
├── README.md                      # Project documentation
├── requirements.txt               # Python dependencies
├── docker-compose.yml             # Docker services (OUTSIDE app/)
├── Dockerfile                     # Docker build instructions (OUTSIDE app/)
├── alembic.ini                    # Database migration config
├── pytest.ini                     # Test configuration
│
├── app/                           # Main application code
│   ├── __init__.py
│   ├── main.py                    # FastAPI app initialization
│   │
│   ├── core/                      # Core configuration
│   │   ├── __init__.py
│   │   ├── config.py              # Settings and configuration
│   │   ├── database.py            # Database connection
│   │   ├── dependencies.py        # Common dependencies
│   │   └── security.py            # Security utilities
│   │
│   ├── models/                    # Database models
│   │   ├── __init__.py
│   │   ├── database.py            # SQLAlchemy models
│   │   ├── task.py                # Task model
│   │   └── user.py                # User model
│   │
│   ├── schemas/                   # Pydantic models
│   │   ├── __init__.py
│   │   ├── requests.py            # Request schemas
│   │   ├── responses.py           # Response schemas
│   │   └── common.py              # Shared schemas
│   │
│   ├── routers/                   # API routes
│   │   ├── __init__.py
│   │   ├── health.py              # Health check routes
│   │   ├── tasks.py               # Task management routes
│   │   ├── slack.py               # Slack integration routes
│   │   └── webhooks.py            # Webhook handlers
│   │
│   ├── services/                  # Business logic
│   │   ├── __init__.py
│   │   ├── task_service.py        # Task business logic
│   │   ├── slack_service.py       # Slack integration logic
│   │   ├── notion_service.py      # Notion API integration
│   │   ├── openai_service.py      # OpenAI integration
│   │   └── celery_tasks.py        # Background tasks
│   │
│   ├── integrations/              # External API integrations
│   │   ├── __init__.py
│   │   ├── slack/
│   │   │   ├── __init__.py
│   │   │   ├── handlers.py        # Slack event handlers
│   │   │   └── commands.py        # Slack slash commands
│   │   ├── notion/
│   │   │   ├── __init__.py
│   │   │   └── client.py          # Notion client wrapper
│   │   └── openai/
│   │       ├── __init__.py
│   │       └── client.py          # OpenAI client wrapper
│   │
│   └── utils/                     # Utility functions
│       ├── __init__.py
│       ├── logger.py              # Logging configuration
│       └── helpers.py             # Helper functions
│
├── migrations/                    # Database migrations (Alembic)
│   ├── versions/
│   └── env.py
│
├── tests/                         # Test files
│   ├── __init__.py
│   ├── conftest.py               # Test configuration
│   ├── test_health.py            # Health endpoint tests
│   ├── test_tasks.py             # Task API tests
│   └── integration/
│       ├── __init__.py
│       └── test_slack.py         # Integration tests
│
├── scripts/                       # Utility scripts
│   ├── start.sh                  # Development start script
│   ├── deploy.sh                 # Deployment script
│   └── init_db.py                # Database initialization
│
└── docs/                         # Documentation
    ├── api.md                    # API documentation
    ├── deployment.md             # Deployment guide
    └── development.md            # Development setup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published