Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marlinsk/typescript-oop-clean-architecture
Project using the object-oriented programming paradigm with TypeScript and clean architecture.
https://github.com/marlinsk/typescript-oop-clean-architecture
clean-architecture javascript nodejs oop oriented-object-programming prompt-sync typescript
Last synced: 18 days ago
JSON representation
Project using the object-oriented programming paradigm with TypeScript and clean architecture.
- Host: GitHub
- URL: https://github.com/marlinsk/typescript-oop-clean-architecture
- Owner: Marlinsk
- License: gpl-3.0
- Created: 2022-06-28T17:33:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T04:37:13.000Z (about 1 year ago)
- Last Synced: 2024-11-10T02:14:07.527Z (3 months ago)
- Topics: clean-architecture, javascript, nodejs, oop, oriented-object-programming, prompt-sync, typescript
- Language: TypeScript
- Homepage:
- Size: 78.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typescript-oop-clean-architecture
My first TypeScript project using the object-oriented programming paradigm and clean architecture. Much of what was developed here was meant to deconstruct the way I approach programming projects, where I would usually think about which programming language to use, the framework, the database, cloud services, and libraries. Much of this made me a hostage to them. In the end, we realize that these technologies only exist to solve a problem, and the problem is constantly changing, and there will always be a new one that requires a new solution to resolve it. In the end, we see that all the available technology is not enough, and that's when we sit in front of the computer and start developing a new solution to solve that problem.I created this project to reflect on these points, taking me back to the beginning of when I started programming, back in 2019, when my teacher taught me how to program without using Java utilities or pre-existing libraries to solve problems.
## Objective
To develop a desktop application, revisiting past concepts learned during my college years. These concepts include object-oriented programming, clean code, clean architecture, and many of them serve as an initial foundation to start shaping the business rules of projects before using a framework or technology.## Technologies
- Javascript
- Typescript
- prompt-sync (a library to facilitate interaction with the command prompt)## Project Design
The project was developed using concepts of:
- Object-oriented programming
- Clean code
- Clean architecture## Tutorial
**Note:** To follow the step-by-step instructions for running the application on your machine, you need to have knowledge of terminal commands, Git and GitHub commands, and npm package manager commands, as well as navigating between folders using the terminal.### Cloning and setting up the project
**1º step: clone the repository to your machine from GitHub.**
```bash
git clone https://github.com/Marlinsk/typescript-poo-clean-architecture.git
```**2º step: Navigate to the project folder.**
```bash
cd typescript-poo-clean-architecture
```**3º step: Run the command in the terminal to install the project dependencies.**
```bash
npm install
```**4º step: Execute the command to build the application.**
```bash
npm run build
```
Without the **dist file** generated by the build, the application will not work.**5º step: Run the command in the terminal to start the application, and feel free to test and play around.**
```bash
npm run start
```