Contributing to CueAPI
March 27, 2026 ยท View on GitHub
Thank you for considering contributing to CueAPI.
Development setup
git clone https://github.com/cueapi/cueapi-core
cd cueapi-core
cp .env.example .env
docker compose up -d db redis
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Run the API locally:
uvicorn app.main:app --reload --port 8000
Running tests
make test
Or without Make:
docker compose -f docker-compose.test.yml up -d
DATABASE_URL=postgresql+asyncpg://cueapi:password@localhost:5432/cueapi \
REDIS_URL=redis://localhost:6379 \
SESSION_SECRET=test-secret-key-32-chars-minimum \
python -m pytest tests/ -v
Pull requests
- Fork the repo and create a branch from
main - Add tests for any new functionality
- Ensure
make testpasses - Keep PRs focused โ one feature or fix per PR
- Write clear commit messages
Code style
- Python 3.11+
- Follow existing patterns in the codebase
- Type hints on function signatures
- Async/await for all database and Redis operations
Reporting issues
Open an issue on GitHub. Include:
- What you expected to happen
- What actually happened
- Steps to reproduce
- CueAPI version and environment (Docker, bare metal, etc.)
License
By contributing, you agree that your contributions will be licensed under the Apache 2.0 license.