Skip to content

🌱 This project provides a simple example of Object-Oriented Programming (OOP) in TypeScript.

Notifications You must be signed in to change notification settings

Yesarib/Typescript-OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript OOP Example

This project provides a simple example of Object-Oriented Programming (OOP) in TypeScript. It develops an API that includes concepts of customers, products, and orders. The project involves TypeScript and a basic Node.js application.

Getting Started

To use the project, you can follow the steps below.

Prerequisites

  • Node.js must be installed.
  • TypeScript compiler must be installed (you can install it globally with the command npm install -g typescript if needed).

Installation

  1. Clone the repository to your machine:

    git clone https://github.com/Yesarib/Typescript-OOP.git
  2. Navigate to the project directory:

    cd Typescript-OOP
  3. Install dependencies:

    npm install

Usage

After the project is set up, you can follow these steps:

  1. Compile the TypeScript code:

    tsc
  2. Run the application:

    npm start
  3. The application will run through the console, simulating various customer, product, and order operations. Use api end-points while the project is running.
    Note: Since the project runs in the console, running it again will delete the previous data.

About

🌱 This project provides a simple example of Object-Oriented Programming (OOP) in TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages