Skip to content

This is a Vanilla TypeScript project on Vite, which contains exercises on SOLID Principles and Clean Code.

Notifications You must be signed in to change notification settings

eavelasquez/clean-solid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Code and SOLID Principles

This is a Vanilla TypeScript project on Vite, which contains exercises on Clean Code and SOLID Principles.

Development

To clone this repository, run the following command:

git clone https://github.com/eavelasquez/clean-solid.git

To run the project, run:

yarn install
or
npm install

To start the project in development mode, run:

yarn dev
or
npm run dev

Structure of the project

clean-solid
├── docs
│    └── slides.pdf
├── src
│    ├── clean-code
│    │    ├── 01-names.ts
│    │    ├── 02-name-types.ts
│    │    ├── 03-functions.ts
│    │    ├── 04-nested-if-else.ts
│    │    ├── 05-dry.ts
│    │    ├── 06-classes-a.ts
│    │    ├── 06-classes-b.ts
│    │    ├── 06-classes-c.ts
│    │    └── 07-srp.ts
│    ├── code-smell
│    │    ├── 01-singleton.js
│    │    ├── 02-high-coupling.ts
│    │    └── 03-high-coupling.ts
│    ├── data
│    │    └── local-database.json
│    ├── solid
│    │    ├── 01-srp.ts
│    │    ├── 02-open-close-a.ts
│    │    ├── 02-open-close-b.ts
│    │    ├── 02-open-close-c.ts
│    │    ├── 03-liskov-a.ts
│    │    ├── 03-liskov-b.ts
│    │    ├── 03-liskov-c.ts
│    │    ├── 04-segregation-a.ts
│    │    ├── 04-segregation-b.ts
│    │    ├── 05-dependency-a.ts
│    │    ├── 05-dependency-b.ts
│    │    ├── 05-dependency-c.ts
│    │    └── 05-dependency-d.ts
│    ├── main.ts
│    └── style.css
├── index.html
└── package.json

What is Clean Code?

Clean Code is a programming style that follows a set of rules to write code.

What is SOLID Principles?

SOLID is a set of principles that are used to design software.

References

About

This is a Vanilla TypeScript project on Vite, which contains exercises on SOLID Principles and Clean Code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages