From a811ad57da5af228220a7a927530e0b0b05e0a37 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sat, 8 Aug 2026 17:46:11 -0500 Subject: [PATCH] docs(vault): convert Obsidian links to relative markdown format and clean up structure - Replaced all custom Obsidian [[document]] links with standard relative markdown links across residency documents. - Linked all orphaned files (SKILLS.md, parking-lot.md, journal entries, and skills guides) to create a fully connected vault graph. - Updated README.md to reflect the actual repository directory structure (knowledge/, docs/, journal/, practice/). - Converted cross-repository project backlog, database, and architecture links to absolute GitHub URLs in bitetrack-api. - Fixed broken links in README.md, practice patterns, and LeetCode problems. --- README.md | 59 ++++++++++++++----- ROADMAP.md | 7 ++- SKILLS.md | 12 ++-- WEEKLY.md | 22 +++++++ journal/2026-06-26.md | 4 +- journal/2026-06-29.md | 6 +- practice/LeetCode/00-practiced-patterns.md | 10 ++-- practice/LeetCode/14-longest-common-prefix.md | 2 +- .../LeetCode/21-merge-two-sorted-lists.md | 2 + 9 files changed, 90 insertions(+), 34 deletions(-) create mode 100644 WEEKLY.md diff --git a/README.md b/README.md index 0eb8713..2f07860 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,51 @@ # Backend Journey: 90-Day Backend Residency -Welcome to your Backend Residency. This repository is configured as an Obsidian vault to organize your learning path, track progress, maintain a backlog for your flagship project, log interviews, and consolidate your personal backend engineering notes. +Welcome to your Backend Residency. This repository is configured to organize your learning path, track progress, maintain a backlog for your flagship project, log interviews, and consolidate your personal backend engineering notes. ## Repository Structure -- [todo.md](/todo.md) — The main checklist representing the core phases, tasks, and exit criteria. (Symlinked to your home directory at `~/todo.md` for quick access!) -- [ROADMAP.md](/ROADMAP.md) — The high-level strategic roadmap with phase details and exit gates. -- [WEEKLY.md](/WEEKLY.md) — Your tactical weekly planning and review document. -- [INTERVIEW.md](/INTERVIEW.md) — Conceptual flashcards and logs of mock/real interviews. -- `project/` - - [TODO.md](/project/TODO.md) — The operational backlog for your flagship backend project. -- `notes/` — Focused study notes mapping to key interview pillars: - - [sql.md](/notes/sql.md) — SQL, indexes, transactions, normalization, joins. - - [auth.md](/notes/auth.md) — JWTs, hashing, authorization, and authentication flows. - - [docker.md](/notes/docker.md) — Containerization basics and multi-stage builds. - - [testing.md](/notes/testing.md) — Unit testing, integration testing, and pytest. +### Strategic Documents +- [todo.md](todo.md) — The main checklist representing the core phases, tasks, and exit criteria. (Symlinked to your home directory at `~/todo.md` for quick access!) +- [ROADMAP.md](ROADMAP.md) — The high-level strategic roadmap with phase details and exit gates. +- [WEEKLY.md](WEEKLY.md) — Index of daily journals and weekly planning. +- [SKILLS.md](SKILLS.md) — Confidence and interview readiness matrix for core backend technologies. +- [AGENTS.md](AGENTS.md) — The AI Coaching Manual and guidelines for the residency. +- [parking-lot.md](knowledge/parking-lot.md) — Backlog of future topics and concepts deferred to prevent scope creep. + +### Flagship Project (External) +- [bitetrack-api](https://github.com/kiskaadee/bitetrack-api) — The implementation repository. +- [TODO.md](https://github.com/kiskaadee/bitetrack-api/blob/main/docs/TODO.md) — The operational backlog for the flagship backend project. + +### Documentation & Logs (`docs/`) +- [LOG.md](docs/interview/LOG.md) — Conceptual flashcards and logs of mock/real interviews. +- [adr/](docs/adr/) — Architecture Decision Records (ADRs) detailing technology choices. +- [mistakes/template.md](docs/mistakes/template.md) — Template for logging mistakes and debugging lessons. + +### Knowledge Base (`knowledge/`) +- **Skills Guides (`knowledge/skills/`)**: + - [sql.md](knowledge/skills/sql.md) — SQL, indexes, transactions, normalization, joins. + - [auth.md](knowledge/skills/auth.md) — JWTs, hashing, authorization, and authentication flows. + - [testing.md](knowledge/skills/testing.md) — Unit testing, integration testing, and pytest. + - [adrs.md](knowledge/skills/adrs.md) — Quick guide on writing Architecture Decision Records. + - [notes-to-docs.md](knowledge/skills/notes-to-docs.md) — Reformatting raw study notes into clean documentation. +- **Python notes (`knowledge/python/`)**: + - [pydantic.md](knowledge/python/pydantic.md) — Request validation and serialization guide. + - [enumerate.md](knowledge/python/enumerate.md) — Enumeration loops in Python. + - [zip.md](knowledge/python/zip.md) — Iteration and transposition using `zip()`. +- **Tools Reference (`knowledge/tools/`)**: + - [docker.md](knowledge/tools/docker.md) — Containerization basics and multi-stage builds. + - [tmux.md](knowledge/tools/tmux.md) — Tmux cheat sheet and session/pane management. +- **DSA Notes (`knowledge/dsa/`)**: + - [linked-list.md](knowledge/dsa/linked-list.md) — Linked list mechanics and pointers. + - [binary-search.md](knowledge/dsa/binary-search.md) — Binary search templates. + - [hashmap.md](knowledge/dsa/hashmap.md) — Hash table designs and collision resolution. + +### Code Practice & Logs (`practice/`) +- [00-practiced-patterns.md](practice/LeetCode/00-practiced-patterns.md) — LeetCode exercises solved in Python, indexed by pattern. --- -## Guidelines for Obsidian Usage -- Open this workspace directory ('/') directly as a Vault in **Obsidian**. -- Use standard markdown links (e.g. `[[ROADMAP]]` or `[[notes/sql]]`) to connect your study materials, daily logs, and project tasks. -- Keep updates concise and version-controlled. Commit your changes at the end of each week. +## Guidelines for Documentation +- Use standard relative markdown links (e.g. `[ROADMAP.md](ROADMAP.md)` or `[sql.md](knowledge/skills/sql.md)`) to connect your study materials, daily logs, and project tasks. Avoid the Obsidian custom `[[document]]` syntax. +- Keep updates concise and version-controlled. Commit your changes using Conventional Commits formats. + diff --git a/ROADMAP.md b/ROADMAP.md index e893d5e..b0220da 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -8,7 +8,7 @@ This document outlines the milestones and gates of the Backend Residency. Instea Rebuild the original BiteTrack backend using modern Python technologies and production-grade engineering practices. - **Mission:** Rebuild BiteTrack from the ground up focusing on professional backend engineering. The goal is not feature parity with legacy version, but demonstrating clean code, tests, and API standards. - **Key Modules:** Auth & RBAC, Products & Categories, Orders & Transaction safety, Search & Filtering, and logging. -- **Reference Docs:** [[project/README]], [[project/architecture]], [[project/api-design]], [[project/database]]. +- **Reference Docs:** [project/README](https://github.com/kiskaadee/bitetrack-api/blob/main/README.md), [project/architecture](https://github.com/kiskaadee/bitetrack-api/blob/main/docs/architecture.md), [project/api-design](https://github.com/kiskaadee/bitetrack-api/blob/main/docs/api-design.md), [project/database](https://github.com/kiskaadee/bitetrack-api/blob/main/docs/database.md). --- @@ -22,6 +22,11 @@ Rebuild the original BiteTrack backend using modern Python technologies and prod - Initialize Python environment using `uv` - Configure Ruff, Pyright, and code formatter - Setup multi-container Docker Compose file (`FastAPI` & `PostgreSQL`) +- **Relevant ADRs:** + - [ADR 0001: Language Choice (Python)](docs/adr/0001-python.md) + - [ADR 0002: Framework Choice (FastAPI)](docs/adr/0002-fastapi.md) + - [ADR 0003: Database Choice (PostgreSQL)](docs/adr/0003-postgresql.md) + - [ADR 0004: Project Structure](docs/adr/0004-project-structure.md) - **Acceptance Tests:** - [x] Running `docker compose up` starts the PostgreSQL database container. - [x] Running `curl http://localhost:8000/docs` yields a valid HTML response (FastAPI running in local devShell). diff --git a/SKILLS.md b/SKILLS.md index a334467..c5c6586 100644 --- a/SKILLS.md +++ b/SKILLS.md @@ -4,13 +4,13 @@ Use this matrix to track your confidence and interview readiness for key backend | Skill | Confidence | Interview Ready | Linked Notes | | :--- | :---: | :---: | :--- | -| **Python** | 3/5 | 🟨 | [[testing]] | +| **Python** | 3/5 | 🟨 | [testing](knowledge/skills/testing.md) | | **Git & GitHub** | 4/5 | 🟩 | - | -| **FastAPI** | 2/5 | 🟥 | [[auth]] | -| **SQL & PostgreSQL** | 2/5 | 🟥 | [[sql]] | -| **Docker & Compose** | 2/5 | 🟥 | [[docker]] | -| **Testing (pytest)** | 1/5 | 🟥 | [[testing]] | -| **JWT & RBAC** | 1/5 | 🟥 | [[auth]] | +| **FastAPI** | 2/5 | 🟥 | [auth](knowledge/skills/auth.md) | +| **SQL & PostgreSQL** | 2/5 | 🟥 | [sql](knowledge/skills/sql.md) | +| **Docker & Compose** | 2/5 | 🟥 | [docker](knowledge/tools/docker.md) | +| **Testing (pytest)** | 1/5 | 🟥 | [testing](knowledge/skills/testing.md) | +| **JWT & RBAC** | 1/5 | 🟥 | [auth](knowledge/skills/auth.md) | *Status Legend:* - 🟥 Not Ready (Cannot explain under interview pressure) diff --git a/WEEKLY.md b/WEEKLY.md new file mode 100644 index 0000000..06270f1 --- /dev/null +++ b/WEEKLY.md @@ -0,0 +1,22 @@ +# Weekly Planning & Journal Index + +Use this document to track weekly planning, review progress, and index daily journal entries. + +--- + +## 📅 Week 1 (June 22 - June 28, 2026) +- **Primary Milestone:** Milestone 0 Setup & Environment. +- **Goal:** Initialize project repository, configure local environment, and setup PostgreSQL database container. +- **Daily Journals:** + - [2026-06-25 Daily Journal](journal/2026-06-25.md) — structure setup, `todo.md` symlinking, and ADR documentation. + - [2026-06-26 Daily Journal](journal/2026-06-26.md) — project initialization, NixOS `.envrc` debugging, and Docker volumes. + +--- + +## 📅 Week 2 (June 29 - July 5, 2026) +- **Primary Milestone:** Completing Milestone 0 & Preparing Milestone 1. +- **Goal:** Stabilize the NixOS devShell, write/test the application health-check endpoint, and plan user registration routes. +- **Daily Journals:** + - [2026-06-29 Daily Journal](journal/2026-06-29.md) — dynamic linkers debugging on NixOS, and `flake.nix` configuration. + - [2026-06-30 Daily Journal](journal/2026-06-30.md) — glibc symbol mismatch and Starship shell resolution, verifying Ruff checks. + - [2026-07-01 Daily Journal](journal/2026-07-01.md) — complete Milestone 0, restructure `/health` route, and prep registration schemas. diff --git a/journal/2026-06-26.md b/journal/2026-06-26.md index f6a5e26..fa859bd 100644 --- a/journal/2026-06-26.md +++ b/journal/2026-06-26.md @@ -85,9 +85,9 @@ export POSTGRES_DB=db_name ## Questions - With NixOS already providing `direnv`, when does it become necessary or advantageous to introduce `devShell`s? which responsibilities belong to each? - - Answered in [[environments]] + - Answered in [environments](../knowledge/devenv/environments.md) - I attempted to namespace the PostgreSQL volume because I expected multiple databases to coexist on this machine. Is naming Docker volumes per application considered good practice? What are the recommended conventions for avoiding collisions while still using PostgreSQL's default data directory? - - Answered in:[[docker#Docker & Containerization Notes#Docker Volume names]] + - Answered in: [docker](../knowledge/tools/docker.md#docker-volume-names) ## Reflection Today's work was heavily focused on documentation, tooling and process design. diff --git a/journal/2026-06-29.md b/journal/2026-06-29.md index fc598a8..44d2a76 100644 --- a/journal/2026-06-29.md +++ b/journal/2026-06-29.md @@ -1,9 +1,9 @@ # Daily Journal: 2026-06-29 ## Wins -Today we've finally commited the work started on the last session with descriptive summary of the work done in the [BiteTrack repository](https://github.com/kiskaadee/bitetrack-api/commit/f78ddda7d613414ef6d270bfbb91a6e9fe8e7879), and [here](8783033f7424e009d3bf1d19779d00b933b9a115). +Today we've finally commited the work started on the last session with descriptive summary of the work done in the [BiteTrack repository](https://github.com/kiskaadee/bitetrack-api/commit/f78ddda7d613414ef6d270bfbb91a6e9fe8e7879), and [here](https://github.com/kiskaadee/backend-residency/commit/8783033f7424e009d3bf1d19779d00b933b9a115). -I encountered an additional source of friction, and my main gap for learning which is planning paralysis. So I've introduced some additional changes to the [[AGENTS.md]] (https://github.com/kiskaadee/backend-residency/commit/5a3b1813b21d58923ce3390d3abbe6f7d5a4c321) that will hopefully help me avoiding falling into confuse-planning-with-productivity traps. +I encountered an additional source of friction, and my main gap for learning which is planning paralysis. So I've introduced some additional changes to the [AGENTS.md](../AGENTS.md) (https://github.com/kiskaadee/backend-residency/commit/5a3b1813b21d58923ce3390d3abbe6f7d5a4c321) that will hopefully help me avoiding falling into confuse-planning-with-productivity traps. Following the new proposed guidelines, the challenge for today was the following: @@ -19,7 +19,7 @@ When I started working on this implemenatation, I found the first Milestone 0 bl The virtual environment configured via UV was installed succesfully, but some packages could not be executed under NixOS because of dynamically linked binaries -This is actually related to the previous research in [[environments]] and [[devShell]]. +This is actually related to the previous research in [environments](../knowledge/devenv/environments.md) and [devShell](../knowledge/devenv/devShell.md). Standard Linux distributions follow the Filesystem Hiearchy Standard (FHS) , placing dynamic linkers and shared libraries into expected paths. The pre-compiled binaries are compiled with the hardcoded paths to these expected linkers. diff --git a/practice/LeetCode/00-practiced-patterns.md b/practice/LeetCode/00-practiced-patterns.md index 3381e7f..d94fe05 100644 --- a/practice/LeetCode/00-practiced-patterns.md +++ b/practice/LeetCode/00-practiced-patterns.md @@ -13,13 +13,13 @@ The tables below provide two complementary views: | Pattern | Notes | **Problems** | | --------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Array / Linear Scan | The "default" pattern. Many Easy problems are just one pass over an array or string. | [#01](01-two-sum.md)
[#13](13-roman-to-integer.md)
[#14](14-longest-common-prefix.md)
[#28](28-find-the-index-of-the-first-occurrence-in-a-string)
| +| Array / Linear Scan | The "default" pattern. Many Easy problems are just one pass over an array or string. | [#01](01-two-sum.md)
[#13](13-roman-to-integer.md)
[#14](14-longest-common-prefix.md)
[#28](28-find-the-index-of-the-first-occurrence-in-a-string.md)
| | In-place Edit | Modify the existing container while maintaining a write index | [#26](26-remove-duplicates-from-sorted-array.md)
[#27](27-remove-element.md) | | String | String-specific manipulation/search. | [#14](14-longest-common-prefix.md) | -| String Search | Find the first occurrence of a pattern within a larger string. | [#28](28-find-the-index-of-the-first-occurrence-in-a-string) | +| String Search | Find the first occurrence of a pattern within a larger string. | [#28](28-find-the-index-of-the-first-occurrence-in-a-string.md) | | Linked List | Separate from Two Pointers because the mechanics differ. | [#21](21-merge-two-sorted-lists.md) | -| Hash Table | Dictionaries, sets, counting, lookups. | [#01](01-two-sum.md)
[#13](13-roman-to-integer.md)
[#20](20-valid-parentheses) | -| Stack | LIFO problems. | [#20](20-valid-parentheses) | +| Hash Table | Dictionaries, sets, counting, lookups. | [#01](01-two-sum.md)
[#13](13-roman-to-integer.md)
[#20](20-valid-parentheses.md) | +| Stack | LIFO problems. | [#20](20-valid-parentheses.md) | | Queue | FIFO problems. | | | Two Pointers | Left/right, fast/slow, read/write. | [#09](09-palindrome-number.md)
[#21](21-merge-two-sorted-lists.md)
[#26](26-remove-duplicates-from-sorted-array.md)
[#27](27-remove-element.md)
| | Sliding Window | Dynamic intervals. | | @@ -38,7 +38,7 @@ The tables below provide two complementary views: | [#9 Palindrome Number](09-palindrome-number.md) | Two pointers (or half-reversal) | Math | | [#13 Roman to Integer](13-roman-to-integer.md) | HashMap | Linear scan | | [#14 Longest Common Prefix](14-longest-common-prefix.md) | String | Linear scan | -| [#20 Valid Parentheses](20-valid-parentheses) | Stack | HashMap (matching pairs) | +| [#20 Valid Parentheses](20-valid-parentheses.md) | Stack | HashMap (matching pairs) | | [#21 Merge Two Sorted Lists](21-merge-two-sorted-lists.md) | Two pointers | Linked List | | [#26 Remove Duplicates from Sorted Array](26-remove-duplicates-from-sorted-array.md) | Two pointers | In-place array | | [#27 Remove Element](27-remove-element.md) | Two pointers | In-place filtering | diff --git a/practice/LeetCode/14-longest-common-prefix.md b/practice/LeetCode/14-longest-common-prefix.md index f0a3c06..5a6777f 100644 --- a/practice/LeetCode/14-longest-common-prefix.md +++ b/practice/LeetCode/14-longest-common-prefix.md @@ -210,7 +210,7 @@ flowchart TD ``` **Implementation**: -I have a [guide](../../knowledge/python/zip) on `zip()`'s behavior and use cases, but, in a nutshell, this function combines multiple lists or iterables (like tuples or strings) element-by-element, pairing items at the same index together into tuples. +I have a [guide](../../knowledge/python/zip.md) on `zip()`'s behavior and use cases, but, in a nutshell, this function combines multiple lists or iterables (like tuples or strings) element-by-element, pairing items at the same index together into tuples. Consider the following list of strings: diff --git a/practice/LeetCode/21-merge-two-sorted-lists.md b/practice/LeetCode/21-merge-two-sorted-lists.md index 8cfd702..6c2e4ff 100644 --- a/practice/LeetCode/21-merge-two-sorted-lists.md +++ b/practice/LeetCode/21-merge-two-sorted-lists.md @@ -4,6 +4,8 @@ Status: Solved Difficulty: Easy +**Relevant Guides:** [Linked List Guide](../../knowledge/dsa/linked-list.md) + ## Problem Statement You are given the heads of two sorted linked lists `list1` and `list2`.