Skip to content

Just another repo to add simple exercises to teach (and learn) OOP.

Notifications You must be signed in to change notification settings

delr3ves/typescript-oop-playground

Repository files navigation

Typescript OOP Playground build status

Hi, this is just a really simple project to enjoy learning Object Oriented Programing.

With this project, I'll try to solve some exercises in order to learn something related with programing.

This project is created in the context of some sessions with a group of students who wanted to learn some core concepts. I created a small diary of each session with them. You can find the log of each session here.

Development

We'll use yarn as a build system (however you can use npm if you feel more confortable), but take into account the dependencies are just locked for yarn (see yarn.lock file).

Installing dependencies

First of all, you'll need to install the dependencies, otherwise you'll be able to do nothing :S

yarn install

Check styles

We use tslint to ensure our code style is compliant with the standard, to ensure the code is ok, you just need to run

yarn lint

In case you find any violation, you may want to let tslint fixing some errors with no manual operations. It won't fix every single error, but some anoying related with tabs and spaces. Just run:

yarn fixLint

Test the code

We use Jest as test framework. Running the tests is easy, just execute:

yarn test

In case you're using vscode, you can also run the test as I uploaded the .vconfig folder to make it easy runnig test.

About

Just another repo to add simple exercises to teach (and learn) OOP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published