Reorganized Python lab workspace with multiple learning sites and GitHub Pages friendly entrypoints.
Live site: Python Labs
services/: all lab projects grouped as independent services.site/: static portal with learning sites, including a GitHub Pages compatible interview-prep site.index.html: root redirect entry so GitHub Pages can open the portal from repo root.learning-path/: hands-on code labs mapped to roadmap stages/phases.scripts/: cross-platform scripts to build and run the site.docs/: markdown versions of roadmap and cheat sheet.archive/: legacy/experimental folders not used for the main learning flow.
services/AI-search-engineservices/basic-botservices/box-browserservices/calculator-gradient-imageservices/composioservices/crypto-botservices/download-videoservices/dropshipping-botservices/get-dataservices/nft-ai-botservices/smart-contract
./scripts/run_site.shOptional custom start port:
./scripts/run_site.sh 8080./scripts/run_site.ps1Optional custom start port:
./scripts/run_site.ps1 -StartPort 8080scripts\run_site.cmdPublic GitHub Pages:
-
Python Labs -> live static entry page
-
http://127.0.0.1:<PORT>/-> track selector landing page -
http://127.0.0.1:<PORT>/foundation.html-> huge foundation cheatsheet + roadmap -
http://127.0.0.1:<PORT>/advanced.html-> advanced architecture roadmap + Java/Python stack mapping -
http://127.0.0.1:<PORT>/interview.html-> static interview topic catalog and preparation ladders -
http://127.0.0.1:<PORT>/interview-sources.html-> static interview source hub for Vietnamese and English learning links -
http://127.0.0.1:<PORT>/code-questions.html-> code-only static JSON question bank with answers/explanations -
http://127.0.0.1:<PORT>/code-questions.html?set=advanced-> 100+ advanced code questions -
http://127.0.0.1:<PORT>/code-questions.html?set=automation-> automation code set -
http://127.0.0.1:<PORT>/code-questions.html?set=backend-> backend/data code set -
http://127.0.0.1:<PORT>/code-questions.html?set=ai-ml-> AI/ML code set -
http://127.0.0.1:<PORT>/code-questions.html?set=system-design-> system design code set -
http://127.0.0.1:<PORT>/interview-role-questions.html-> interview-only question bank for fresher/intermediate/senior/bilingual
Each roadmap card includes an Example code path under learning-path/ so you can open matching code while reading the site.
Roadmap cards also include:
- progress checkbox (saved in browser local storage)
Run examplebutton (runs local.pysample and shows output in-page)
If GitHub Pages points to the repository root, the top-level index.html will redirect users into site/index.html.
That means you do not need to move the whole static portal out of site/ just to make the root URL work.
The interview-prep pages are designed to work as a pure static site:
site/interview.htmlsite/interview-sources.htmlsite/interview-questions.htmlsite/code-questions.htmlsite/interview-role-questions.htmlsite/data/interview-catalog.jsonsite/data/interview-basic-questions.jsonsite/data/interview-intermediate-questions.jsonsite/data/interview-advanced-questions.jsonsite/data/interview-question-sets.jsonsite/data/interview-code-sets.jsonsite/data/interview-role-sets.jsonsite/data/interview-sources.jsonsite/data/interview-automation-questions.jsonsite/data/interview-backend-questions.jsonsite/data/interview-ai-ml-questions.jsonsite/data/interview-system-design-questions.jsonsite/data/interview-bilingual-questions.json
This means you can publish that part to GitHub Pages without requiring Python, a local server API, or a database.
The existing foundation.html and advanced.html pages still support local interactive example execution through POST /api/run-example, so that specific feature is local-only.
The interview site is designed to remain fully static on GitHub Pages:
- no Python runtime required
- no database required
- no local API required
- all content is loaded from JSON in the browser
If you want to contribute more interview question sets, please send them by email to sonvi10101999@gmail.com.
Suggested contribution formats:
- JSON question sets matching the existing schema in
site/data/ - Vietnamese or English interview questions
- code-comparison, optimization, trap, and system-design style questions
- Auto-detects available Python command (
python3,python, orpy -3on Windows). - Auto-checks if requested port is in use.
- If port is busy, automatically increments to the next free port.
- Rebuilds all track data from
services/before serving:site/data/catalog.jsonsite/data/foundation.jsonsite/data/advanced.json
- Starts interactive site API:
POST /api/run-examplefor running local learning examples
python3 scripts/build_site.pyRun all core learning-path checks (compile + selected samples + pytest stage):
python3 scripts/verify_learning_path.pylearning-path/foundation/extras/: additional foundational examples (decorators, context managers, regex, argparse, logging, typing, etc.).learning-path/database/: practical database track (PostgreSQL local, Alembic flow, indexing/query plans, isolation, pooling).learning-path/advanced/extras/: distributed pattern examples with tests (idempotency, retry/backoff, circuit breaker, saga, outbox, contracts).learning-path/projects/capstone-e2e-platform/: end-to-end capstone (API + queue + DB + metrics + dashboard + deploy templates + tests).
- Keep secrets in local env files only; never commit real keys.
- This repo is for learning/lab use; each service may need additional refactor/tests for production.