{"id":28640603,"url":"https://github.com/areebahmeddd/payzee","last_synced_at":"2025-07-19T21:33:01.472Z","repository":{"id":290427599,"uuid":"973188344","full_name":"areebahmeddd/Payzee","owner":"areebahmeddd","description":"💵 Pay Easy, Payzee!","archived":false,"fork":false,"pushed_at":"2025-07-10T10:24:38.000Z","size":449,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-07-10T18:00:03.849Z","etag":null,"topics":["devops","digital-rupee","digital-wallet","e-governance","fastapi","redis","social-welfare"],"latest_commit_sha":null,"homepage":"https://api.1mindlabs.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/areebahmeddd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-26T13:05:00.000Z","updated_at":"2025-07-10T11:11:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3eab559-1379-4bcf-8736-413ccd34a0e5","html_url":"https://github.com/areebahmeddd/Payzee","commit_stats":null,"previous_names":["spacetesla/payzee","areebahmeddd/payzee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/areebahmeddd/Payzee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FPayzee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FPayzee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FPayzee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FPayzee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areebahmeddd","download_url":"https://codeload.github.com/areebahmeddd/Payzee/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FPayzee/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266019657,"owners_count":23864916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","digital-rupee","digital-wallet","e-governance","fastapi","redis","social-welfare"],"created_at":"2025-06-12T20:07:38.110Z","updated_at":"2025-07-19T21:33:01.456Z","avatar_url":"https://github.com/areebahmeddd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Payzee: Pay Easy, Payzee!\n\n**Payzee** is a modern payment processor powered by **Central Bank Digital Currency (CBDC)** — also known as the **Digital Rupee** or **e-rupee (e₹)**. [[ YouTube Demo ]](https://youtube.com/shorts/qatWtapzcAU)\n\n- 💻 T3-stack Website: [Live](https://payzee.1mindlabs.org) | [Source Code](https://github.com/alfiyafatima09/payzee-website)\n- 📱 Flutter App: [Live](#) | [Source Code](https://github.com/1MindLabs/payzee-app)\n\n## 📁 Project Structure\n\n```\n├── app.py             # Main FastAPI application entry point\n├── .devcontainer/     # Development container configuration\n├── .github/           # GitHub workflows and configuration\n├── data/              # External datasets and reference information\n├── db/                # Redis database configuration and operations\n├── docker/            # Docker configuration files\n├── k8s/               # Kubernetes configuration files\n├── docs/              # Documentation files\n├── middleware/        # Request/response middleware components\n├── models/            # Data models for transactions, users, and payment entities\n├── monitoring/        # Application Performance Monitoring with Prometheus (metrics collection), Grafana (visualization), and AlertManager (alerting)\n├── routes/            # API endpoints for payments and authentication\n├── scripts/           # Development and setup scripts\n├── templates/         # HTML templates for the application\n├── tests/             # Unit and integration tests\n└── utils/             # Helper utilities and common functions\n```\n\n## 🚀 Setup for Development\n\n### Prerequisites\n\n- Python 3.11+\n- Redis server\n- [Poetry](https://python-poetry.org) for dependency management\n\n### ⚡ Quick Start\n\nRun the setup script:\n\n```bash\n# Option 1: Remote (no clone needed)\nsudo bash -c \"$(curl -fsSL https://areebahmeddd.github.io/payzee/install.sh)\"\n\n# Option 2: Local (after cloning)\n./scripts/install.sh\n```\n\nBoth install dependencies and start the dev server.\n\nThis script will:\n\n- Install Poetry (if not already installed)\n- Set up necessary `PATH` variables\n- Install project dependencies\n- Start the development server with hot-reload\n\n## 🐳 Docker Setup (Recommended)\n\n### 1. Start the full stack\n\nUsing Docker Compose:\n\n```bash\ndocker compose -f docker-compose.local.yaml up -d\n```\n\nOr with Make:\n\n```bash\nmake up\n```\n\nTo view logs from all services:\n\n```bash\ndocker compose logs -f\n```\n\nTo view logs for a specific service (e.g., `api`):\n\n```bash\ndocker compose logs -f api\n```\n\n### 2. Run the app manually with Docker\n\n```bash\n# Build the API container\ndocker build -t payzee-api -f docker/Dockerfile.dev .\n\n# Run the API container\ndocker run -p 8000:8000 --env-file .env payzee-api\n```\n\n## 🧰 Manual Setup\n\n### 1. Install Poetry\n\n- **Windows**:\n\n  ```bash\n  (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -\n  ```\n\n- **Linux/macOS**:\n\n  ```bash\n  curl -sSL https://install.python-poetry.org | python3 -\n  ```\n\n### 2. Start Redis using Docker\n\n```bash\ndocker run --name payzee-redis -p 6379:6379 -d redis:latest\n```\n\n### 3. Install project dependencies\n\n```bash\npoetry install\n```\n\n### 4. Start the development server\n\n```bash\npoetry run uvicorn app:app --reload\n```\n\n## 🧪 Development Tools\n\n### 🌱 Seeding Data\n\nYou can seed initial development data using one of the following commands:\n\n```bash\n./scripts/seed_data.sh\n```\n\nOr with Make:\n\n```bash\nmake seed\n```\n\nThis populates the database with test data for local development and testing.\n\n### ✅ Testing\n\nRun tests with `pytest`:\n\n```bash\n# Using poetry\npoetry run pytest\n\n# Or with Make\nmake test\n```\n\n### 🧼 Pre-commit Hooks\n\nWe use **pre-commit** hooks with **Ruff** for linting and formatting. (Installed with project dependencies)\n\nHooks handle:\n\n- Removing trailing whitespace\n- Ensuring files end with a newline\n- Checking JSON/YAML syntax\n- Python linting \u0026 formatting with Ruff\n\nTo run all hooks manually:\n\n```bash\npoetry run pre-commit run --all-files\n```\n\nOr use Make:\n\n```bash\nmake lint     # Run Ruff linting\nmake format   # Format code using Ruff\n```\n\n## 🔌 Redis Management\n\nRedisInsight is available via Docker at:\n👉 [http://localhost:5540](http://localhost:5540)\n\nTo connect:\n\n1. Click **Add Redis database**\n2. Use one of the following connection strings:\n\n   - `redis://localhost:6379`\n   - `redis://host.docker.internal:6379`\n\nThis allows inspection of Redis data and keyspaces.\n\n## 📘 API Documentation\n\nOnce the app is running, open Swagger UI at:\n👉 [http://localhost:8000/docs](http://localhost:8000/docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareebahmeddd%2Fpayzee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareebahmeddd%2Fpayzee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareebahmeddd%2Fpayzee/lists"}