{"id":30172893,"url":"https://github.com/ahmeddiaab/practical-dbms","last_synced_at":"2026-05-18T02:32:50.105Z","repository":{"id":306477224,"uuid":"1026329524","full_name":"AhmedDiaab/practical-dbms","owner":"AhmedDiaab","description":"A level-based roadmap to master relational databases with PostgreSQL. Practice schema design, normalization, real-world SQL, and transactions using Docker. Great for backend developers.","archived":false,"fork":false,"pushed_at":"2025-07-25T21:19:03.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-26T00:17:33.740Z","etag":null,"topics":["backend","database","postgres","postgresql","roadmap","sql"],"latest_commit_sha":null,"homepage":"","language":"PLpgSQL","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/AhmedDiaab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-25T17:39:09.000Z","updated_at":"2025-07-25T21:19:07.000Z","dependencies_parsed_at":"2025-07-26T00:18:41.201Z","dependency_job_id":"a204fecf-dd5e-4f90-a846-8ed7cfaa6528","html_url":"https://github.com/AhmedDiaab/practical-dbms","commit_stats":null,"previous_names":["ahmeddiaab/practical-dbms"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/AhmedDiaab/practical-dbms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedDiaab%2Fpractical-dbms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedDiaab%2Fpractical-dbms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedDiaab%2Fpractical-dbms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedDiaab%2Fpractical-dbms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AhmedDiaab","download_url":"https://codeload.github.com/AhmedDiaab/practical-dbms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedDiaab%2Fpractical-dbms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269970136,"owners_count":24505477,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["backend","database","postgres","postgresql","roadmap","sql"],"created_at":"2025-08-11T23:18:06.262Z","updated_at":"2026-05-18T02:32:50.054Z","avatar_url":"https://github.com/AhmedDiaab.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Database Roadmap Practice\n\nThis repository contains structured practice material for learning databases — organized by levels for backend developers. Each folder includes examples, exercises, and real-world challenges with SQL and NoSQL.\n\n## 🧭 Levels Overview\n\n| Level                            | Importance  |\n|----------------------------------|-------------|\n| Fundamentals                     | ✅ Mandatory |\n| Schema Design                    | ✅ Mandatory |\n| Querying Deep Dive               | ✅ Mandatory |\n| Advanced SQL                     | ✅ Mandatory |\n| Indexing \u0026 Query Optimization    | ✅ Mandatory |\n| Transactions \u0026 Concurrency       | ✅ Mandatory |\n| Views, Functions, and Triggers   | ✅ Mandatory |\n| Security \u0026 Permissions           | ✅ Mandatory |\n| NoSQL Fundamentals               | 🟡 Optional  |\n| Capstone Projects \u0026 Practice     | ✅ Mandatory |\n\n## 💡 How to Use\n\nEach level has its own directory:\n\n- `schema-design/` → Schema definitions, constraints, normalization\n- `querying-deep-dive/` → JOINs, GROUP BY, CTEs, subqueries\n- `advanced-sql/` → Window functions, recursive CTEs, pivoting\n- `indexing-optimization/` → EXPLAIN plans, performance fixes\n- `transactions-concurrency/` → Isolation levels, locking, race conditions\n- `views-functions-triggers/` → Reusable logic via SQL\n- `security-permissions/` → GRANT/REVOKE, RLS, injection prevention\n- `nosql-fundamentals/` → MongoDB \u0026 Redis basics\n- `capstone-projects/` → Real-world builds (e-commerce, LMS, etc.)\n\n## 🛠 Setup\n\nThis project assumes PostgreSQL is installed.\n\nYou can run it using Docker:\n\n```bash\ndocker-compose up -d\n````\n\n\u003e Edit `.env.example` with credentials and copy to `.env`\n\n## 📦 Sample Seed Database\n\nA small e-commerce schema and seed data are included in `schema-design/`.\n\n```bash\npsql -U postgres -d practice_db \u003c schema-design/schema.sql\npsql -U postgres -d practice_db \u003c schema-design/seed.sql\n```\n\n## 🧪 Practice Tips\n\n* Document your SQL logic in each folder\n* Use `EXPLAIN ANALYZE` to benchmark\n* Try refactoring poor queries into optimal versions\n* Extend capstone projects into full-stack apps\n\n---\n\nFeel free to clone, fork, and contribute. Let’s master databases step-by-step \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmeddiaab%2Fpractical-dbms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmeddiaab%2Fpractical-dbms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmeddiaab%2Fpractical-dbms/lists"}