https://github.com/mmncit/dpatterna
Design Pattern playground
https://github.com/mmncit/dpatterna
design-patterns javascript python svelte typescript webpack
Last synced: 19 days ago
JSON representation
Design Pattern playground
- Host: GitHub
- URL: https://github.com/mmncit/dpatterna
- Owner: mmncit
- Created: 2021-07-07T12:09:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T04:28:26.000Z (about 2 years ago)
- Last Synced: 2025-04-01T14:38:37.520Z (2 months ago)
- Topics: design-patterns, javascript, python, svelte, typescript, webpack
- Language: TypeScript
- Homepage: https://mmncit.github.io/dpatterna
- Size: 3.98 MB
- Stars: 10
- Watchers: 6
- Forks: 42
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dpatterna
Design pattern are well-known solutions to recurring problems. This repo holds some of the classical introductory exercises for different design patterns
# For `ts`/`js` files:
## Install dependencies
```bash
yarn install
```## Running the test suite
Execute the tests with:
```bash
yarn test
```Once you get a test passing, you can enable the next one by changing `xit` to `it`.
## Running web app
```bash
yarn # install dependenciesyarn start # invoke development with webpack-dev-server
```## Execute a script as `node` + `tsc`
```bash
yarn ts-node
# e.g. $yarn ts-node src/functional/closure/adjectifier.ts
```# For `py` files: (python version >= 3)
Just run with```sh
python
```or
```sh
python3
```