- HTML (MDN) docs: https://developer.mozilla.org/en-US/docs/Web/HTML
- CSS (MDN) docs: https://developer.mozilla.org/en-US/docs/Web/CSS
- Tailwind CSS docs: https://tailwindcss.com/docs/
- PostCSS docs / postcss.config: https://postcss.org/
- daisyUI docs: https://daisyui.com/
- Google Fonts docs: https://fonts.google.com/
- Font Awesome docs: https://fontawesome.com/
- Heroicons docs: https://heroicons.com/
- JavaScript (MDN) docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript
- ECMAScript (spec, ECMA-262) docs: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
- TypeScript docs: https://www.typescriptlang.org/docs/
- Node.js docs: https://nodejs.org/
One repository containing 200 curated TypeScript Problems and 200 fully commented, idiomatic TypeScript Solutions - purpose-built as a portfolio piece, interview prep resource and learning reference.
This README has been extended to be client-facing and recruiter-ready: it explains the project's purpose, how to run and extend it, recommended quality gates, and exactly how solutions are organized so contributors and reviewers can find and run examples instantly.
- Quick highlights
- Repository layout (what's inside)
- Try it locally - quick start (PowerShell)
- Development workflow (recommended)
- How solutions are structured (API and examples)
- Best practices and coding standards used
- Quality gates, CI and badges
- Contributing (detailed)
- Maintainer and Contact
- Roadmap and optional next steps I can implement
- FAQ
- License
- 200 problem statements in
typescript/200-ts-problems.tsand 200 matching solutions intypescript/200-ts-solved.ts. - Lightweight demo page:
index.htmlwithjs/script.jsandcss/style.cssto preview outputs. - Typescript-first approach with
tsconfig.jsonalready present. - Minimal
package.json(dev deps installed) - ready to add scripts for build/test/lint.
Top-level files and their purpose:
index.html- demo runner (static page to load a compiled example).typescript/200-ts-problems.ts- problem descriptions, inputs, and notes.typescript/200-ts-solved.ts- solutions, each exported and documented.js/- compiled/demo JavaScript (used byindex.html).css/- demo page styles.package.json- minimal metadata and devDependencies (add scripts as needed).tsconfig.json- TypeScript compiler configuration used by contributors.LICENSE- MIT license.
Open PowerShell in the project root and run:
npm install
npx http-server -c-1 .
If you'd like to run TypeScript sources directly (fast dev iteration):
npm install -D typescript ts-node @types/node
npx ts-node typescript/200-ts-solved.ts
Notes:
npx ts-noderuns TypeScript files directly in Node.js (good for debugging solutions).- The demo in
index.htmlexpects compiled JS injs/or updated imports - compile tojs/if you want browser examples.
The typescript/200-ts-solved.ts file exports named functions. Each entry includes:
- A short problem description (commented).
- An exported function with a clear name (e.g.,
reverseWords). - JSDoc-style comments for inputs, outputs and complexity. `
- Strict typing and
--strictrecommended intsconfig. - Small single-responsibility functions; prefer pure functions when possible.
- Use
readonlyand immutable patterns for safety where applicable. - Document complexity (time/space) and edge cases in comments.
Add these checks to GitHub Actions to make the project enterprise-ready:
- tsc type-check (
npx tsc --noEmit) - lint (
npx eslint) and format checks - unit tests (
vitestorjest) - test coverage and badge (Codecov)
- Project live link:
https://md-abu-kayser.github.io/professional-typescript-showcase/
- Git Repo Clone:
git clone https://github.com/md-abu-kayser/professional-typescript-showcase.git
We want contributions to be high-quality and reviewable. Suggested contribution flow:
- Fork the repo and create a branch named
feat/<short-description>orfix/<issue-number>. - Implement solution(s) in
typescript/200-ts-solved.ts(add new exports) and updatetypescript/200-ts-problems.tsif adding problems. - Add unit tests for new functions in
test/(I can scaffold a test harness).
- Question: Are these solutions production-ready?
- Answer: The solutions are pedagogical and designed for clarity and idiomatic TypeScript. Some solutions prioritize readability and teaching over extreme performance. For production use, add benchmarks and integration tests.
- Question: How do I add new problems?
- Answer: Add the problem description to
typescript/200-ts-problems.ts, implement the exported function intypescript/200-ts-solved.ts, and add a unit test intest/.
- This project is licensed under the terms of the MIT License.
- You may replace or update the license as needed for client or proprietary projects.
- Name: Md Abu Kayser - Full-Stack Engineer
- Project: professional-typescript-showcase
- Maintainer: md-abu-kayser
- Email: abu.kayser.official@gmail.com
- GitHub: github.com/abu.kayser-official
If you’d like this README tailored for a specific purpose - such as hiring managers, open-source contributors, or client deliverables - feel free to request a custom tone or format.
It’s designed to be clean, well-structured, and pleasant to explore - perfect for interviews, typescript portfolio showcases, or professional demos.
Thank you for reviewing this project!