{"id":24908572,"url":"https://github.com/ashifhassandev/oop-examples-typescript","last_synced_at":"2026-02-03T21:31:36.133Z","repository":{"id":270332232,"uuid":"910029816","full_name":"ashifhassandev/oop-examples-typescript","owner":"ashifhassandev","description":"𝐀 𝐫𝐞𝐩𝐨𝐬𝐢𝐭𝐨𝐫𝐲 𝐜𝐨𝐧𝐭𝐚𝐢𝐧𝐢𝐧𝐠 𝐎𝐎𝐏 (𝐎𝐛𝐣𝐞𝐜𝐭-𝐎𝐫𝐢𝐞𝐧𝐭𝐞𝐝 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐦𝐢𝐧𝐠) 𝐞𝐱𝐚𝐦𝐩𝐥𝐞𝐬 𝐢𝐧 𝐓𝐲𝐩𝐞𝐒𝐜𝐫𝐢𝐩𝐭.","archived":false,"fork":false,"pushed_at":"2025-01-05T05:07:32.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T04:41:33.111Z","etag":null,"topics":["nodejs","oop","oop-examples","oop-principles","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashifhassandev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-12-30T10:17:44.000Z","updated_at":"2025-01-19T09:28:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"bde4ac2f-d82a-494c-b596-6d20ffbaf708","html_url":"https://github.com/ashifhassandev/oop-examples-typescript","commit_stats":null,"previous_names":["ashif1996/oop-examples-typescript","ashifhassandev/oop-examples-typescript"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashifhassandev/oop-examples-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashifhassandev%2Foop-examples-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashifhassandev%2Foop-examples-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashifhassandev%2Foop-examples-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashifhassandev%2Foop-examples-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashifhassandev","download_url":"https://codeload.github.com/ashifhassandev/oop-examples-typescript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashifhassandev%2Foop-examples-typescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29058251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nodejs","oop","oop-examples","oop-principles","typescript"],"created_at":"2025-02-02T02:30:07.984Z","updated_at":"2026-02-03T21:31:36.119Z","avatar_url":"https://github.com/ashifhassandev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OOP Examples in TypeScript  \n\nWelcome to the **OOP Examples in TypeScript** repository! This repository showcases Object-Oriented Programming (OOP) concepts implemented in TypeScript through real-world examples like e-commerce systems, library management, and vehicle systems.  \n\n## Table of Contents  \n\n- [About the Repository](#about-the-repository)  \n- [Project Structure](#project-structure)  \n- [Features](#features)  \n- [Getting Started](#getting-started)  \n- [Usage](#usage)  \n- [Contributions](#contributions)  \n- [License](#license)  \n\n## About the Repository  \n\nThis repository demonstrates how to apply OOP principles in TypeScript, such as encapsulation, inheritance, polymorphism, and abstraction. Each example is a standalone system built with TypeScript to showcase real-world applications of OOP concepts.  \n\n## Project Structure  \n\n```plaintext  \noop-typescript/  \n├── e-commerce-system/  \n│   └── eCommerceSystem.ts  \n├── library-management-system/  \n│   └── libraryManagementSystem.ts  \n├── vehicle-system/  \n│   └── vehicleSystem.ts  \n├── .gitignore  \n├── README.md  \n├── package-lock.json  \n├── package.json  \n├── tsconfig.json  \n```  \n\n## Features  \n\n- **OOP Concepts**: Encapsulation, inheritance, polymorphism, and abstraction demonstrated with practical examples.  \n- **Real-World Systems**: Examples like e-commerce, library management, and vehicle systems for hands-on learning.  \n- **TypeScript Best Practices**: Adherence to TypeScript conventions and best practices for OOP.  \n\n## Getting Started  \n\n### Prerequisites  \n- Install [Node.js](https://nodejs.org/).  \n- Install TypeScript globally:  \n  ```bash  \n  npm install -g typescript  \n  ```  \n\n### Clone the Repository  \n```bash  \ngit clone https://github.com/your-username/oop-typescript.git  \ncd oop-typescript  \n```  \n\n### Install Dependencies  \n```bash  \nnpm install  \n```  \n\n### Compile TypeScript Files  \n```bash  \ntsc  \n```  \n\n### Run Examples  \nUse Node.js to execute the compiled JavaScript files:  \n```bash  \nnode e-commerce-system/eCommerceSystem.js  \n```  \n\nOr, directly run TypeScript files using `ts-node` (if installed):  \n```bash  \nnpx ts-node e-commerce-system/eCommerceSystem.ts  \n```  \n\n## Usage  \n\n1. **Explore OOP Concepts**: Navigate through folders to understand specific OOP implementations.  \n2. **Modify Examples**: Extend the provided examples to practice advanced concepts.  \n3. **Run Examples**: Compile and execute the TypeScript files to see the systems in action.  \n\n## Contributions  \n\nContributions are welcome! Here's how you can contribute:  \n\n1. Fork the repository.  \n2. Create a new branch:  \n   ```bash  \n   git checkout -b feature-new-oop-example  \n   ```  \n3. Commit your changes:  \n   ```bash  \n   git commit -m \"Add new OOP example: [Example Name]\"  \n   ```  \n4. Push the branch:  \n   ```bash  \n   git push origin feature-new-oop-example  \n   ```  \n5. Submit a pull request.  \n\n## License  \n\nThis project is licensed under the [MIT License](LICENSE).  \n\n## Acknowledgments  \n\nSpecial thanks to the TypeScript community for providing excellent resources to advance OOP knowledge.  \n\nHappy Coding! 🚀  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashifhassandev%2Foop-examples-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashifhassandev%2Foop-examples-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashifhassandev%2Foop-examples-typescript/lists"}