├── .circleci └── config.yml ├── .gitignore ├── .gitmodules ├── .yo-rc.json ├── README.md ├── ansible ├── README.md ├── ansible.cfg ├── deployment.yaml ├── group_vars │ ├── all.yaml │ └── staging.yaml ├── inventory.py ├── packages │ ├── backend │ │ ├── deployment.yaml │ │ ├── nginx.conf.j2 │ │ └── provision.yaml │ └── frontend │ │ ├── deployment.yaml │ │ ├── nginx.conf.j2 │ │ └── provision.yaml ├── provision.yaml ├── vars │ ├── circleci.yaml.dist │ └── github.yaml.dist └── vault_pass.txt ├── backend ├── .eslintrc.json ├── docker │ └── Dockerfile ├── jest.config.js ├── ormconfig-dist.js ├── ormconfig.js ├── package.json ├── src │ ├── adapters │ │ ├── primaries │ │ │ ├── REST │ │ │ │ └── characters │ │ │ │ │ ├── characters.ts │ │ │ │ │ └── commands │ │ │ │ │ └── ICreateACharacterCommand.ts │ │ │ ├── common │ │ │ │ └── uuid4Generator.ts │ │ │ └── presenters │ │ │ │ └── characters │ │ │ │ ├── characterPresenter.ts │ │ │ │ └── presentedCharacterInterface.ts │ │ └── secondaries │ │ │ ├── PSQL │ │ │ ├── character │ │ │ │ ├── PSQLCharacter.ts │ │ │ │ ├── PSQLCharacterReadRepository.ts │ │ │ │ └── PSQLCharacterWriteRepository.ts │ │ │ └── player │ │ │ │ ├── PSQLPlayer.ts │ │ │ │ └── PSQLPlayerReadRepository.ts │ │ │ └── inMemory │ │ │ ├── character │ │ │ ├── inMemoryCharacter.ts │ │ │ ├── inMemoryCharacterReadRepository.ts │ │ │ └── inMemoryCharacterWriteRepository.ts │ │ │ └── player │ │ │ ├── InMemoryPlayerWriteRepository.ts │ │ │ ├── inMemoryPlayer.ts │ │ │ └── inMemoryPlayerReadRepository.ts │ ├── configuration │ │ ├── injection │ │ │ ├── inversify.config.ts │ │ │ └── types.ts │ │ ├── primaries │ │ │ └── app.ts │ │ └── secondaries │ │ │ └── database │ │ │ ├── config.ts │ │ │ ├── index.ts │ │ │ └── schemas │ │ │ └── index.ts │ ├── core │ │ ├── domain │ │ │ └── models │ │ │ │ ├── character │ │ │ │ ├── character.ts │ │ │ │ ├── exceptions │ │ │ │ │ ├── characterDoesNotHaveEnoughSkillPointsException.ts │ │ │ │ │ ├── characterException.ts │ │ │ │ │ ├── characterLimitReachedException.ts │ │ │ │ │ ├── characterNameAlreadyTakenException.ts │ │ │ │ │ └── characterNameLengthException.ts │ │ │ │ └── snapshot.ts │ │ │ │ └── player │ │ │ │ ├── player.ts │ │ │ │ └── snapshot.ts │ │ └── useCases │ │ │ ├── character │ │ │ ├── ICreateACharacter.ts │ │ │ ├── interfaces │ │ │ │ ├── characterReadRepositoryInterface.ts │ │ │ │ └── characterWriteRepositoryInterface.ts │ │ │ └── types │ │ │ │ └── ICreateACharacterCommand.ts │ │ │ ├── common │ │ │ └── interfaces │ │ │ │ └── uuid4GeneratorInterface.ts │ │ │ └── player │ │ │ └── interfaces │ │ │ ├── playerReadRepositoryInterface.ts │ │ │ └── playerWriteRepositoryInterface.ts │ ├── index.ts │ └── version.ts ├── stryker.conf.json ├── tests │ ├── character │ │ ├── characterBuilder.ts │ │ ├── e2e │ │ │ └── ICreateACharacter.test.ts │ │ ├── integration │ │ │ └── ICreateACharacter.test.ts │ │ ├── legolasCharacterBuilder.ts │ │ └── unit │ │ │ └── ICreateACharacter.test.ts │ ├── common │ │ └── stubs │ │ │ └── stubUuid4Generator.ts │ └── player │ │ └── playerBuilder.ts ├── tsconfig.json └── yarn.lock ├── docker-compose.yaml ├── frontend ├── .eslintrc.json ├── README.md ├── docker │ └── Dockerfile ├── jest.config.js ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.css │ ├── App.test.tsx │ ├── App.tsx │ ├── core │ │ ├── domain │ │ │ └── models │ │ │ │ ├── character │ │ │ │ └── character.ts │ │ │ │ └── player │ │ │ │ └── player.ts │ │ └── useCases │ │ │ └── character │ │ │ └── ICreateACharacter.ts │ ├── index.css │ ├── index.tsx │ ├── logo.svg │ ├── react-app-env.d.ts │ ├── reportWebVitals.ts │ ├── setupTests.ts │ └── version.ts ├── tests │ └── character │ │ └── unit │ │ └── ICreateACharacter.test.ts ├── tsconfig.json └── yarn.lock ├── nginx └── docker │ ├── Dockerfile │ ├── default.conf │ └── packages │ ├── backend.conf │ └── frontend.conf ├── postgres └── docker │ ├── Dockerfile │ └── initdb.d │ └── backend.sql ├── script ├── bootstrap ├── lib │ └── docker ├── server └── update └── terraform ├── .terraform.lock.hcl ├── README.md ├── output.tf ├── provider.tf ├── server.tf └── terraform.tfvars.example /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/.gitmodules -------------------------------------------------------------------------------- /.yo-rc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/.yo-rc.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ansible/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/README.md -------------------------------------------------------------------------------- /ansible/ansible.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/ansible.cfg -------------------------------------------------------------------------------- /ansible/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/deployment.yaml -------------------------------------------------------------------------------- /ansible/group_vars/all.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/group_vars/all.yaml -------------------------------------------------------------------------------- /ansible/group_vars/staging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/group_vars/staging.yaml -------------------------------------------------------------------------------- /ansible/inventory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/inventory.py -------------------------------------------------------------------------------- /ansible/packages/backend/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/packages/backend/deployment.yaml -------------------------------------------------------------------------------- /ansible/packages/backend/nginx.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/packages/backend/nginx.conf.j2 -------------------------------------------------------------------------------- /ansible/packages/backend/provision.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/packages/backend/provision.yaml -------------------------------------------------------------------------------- /ansible/packages/frontend/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/packages/frontend/deployment.yaml -------------------------------------------------------------------------------- /ansible/packages/frontend/nginx.conf.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/packages/frontend/nginx.conf.j2 -------------------------------------------------------------------------------- /ansible/packages/frontend/provision.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/packages/frontend/provision.yaml -------------------------------------------------------------------------------- /ansible/provision.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/provision.yaml -------------------------------------------------------------------------------- /ansible/vars/circleci.yaml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/vars/circleci.yaml.dist -------------------------------------------------------------------------------- /ansible/vars/github.yaml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/ansible/vars/github.yaml.dist -------------------------------------------------------------------------------- /ansible/vault_pass.txt: -------------------------------------------------------------------------------- 1 | tYa'SNYj0=]Q{[-Fu+axJ!g\&J>Kgc&5@Kox0@;3{!09!Lq"z:bd."N/y)('-U,4 2 | -------------------------------------------------------------------------------- /backend/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/.eslintrc.json -------------------------------------------------------------------------------- /backend/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/docker/Dockerfile -------------------------------------------------------------------------------- /backend/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/jest.config.js -------------------------------------------------------------------------------- /backend/ormconfig-dist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/ormconfig-dist.js -------------------------------------------------------------------------------- /backend/ormconfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/ormconfig.js -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/adapters/primaries/REST/characters/characters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/primaries/REST/characters/characters.ts -------------------------------------------------------------------------------- /backend/src/adapters/primaries/REST/characters/commands/ICreateACharacterCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/primaries/REST/characters/commands/ICreateACharacterCommand.ts -------------------------------------------------------------------------------- /backend/src/adapters/primaries/common/uuid4Generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/primaries/common/uuid4Generator.ts -------------------------------------------------------------------------------- /backend/src/adapters/primaries/presenters/characters/characterPresenter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/primaries/presenters/characters/characterPresenter.ts -------------------------------------------------------------------------------- /backend/src/adapters/primaries/presenters/characters/presentedCharacterInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/primaries/presenters/characters/presentedCharacterInterface.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/PSQL/character/PSQLCharacter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/PSQL/character/PSQLCharacter.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/PSQL/character/PSQLCharacterReadRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/PSQL/character/PSQLCharacterReadRepository.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/PSQL/character/PSQLCharacterWriteRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/PSQL/character/PSQLCharacterWriteRepository.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/PSQL/player/PSQLPlayer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/PSQL/player/PSQLPlayer.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/PSQL/player/PSQLPlayerReadRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/PSQL/player/PSQLPlayerReadRepository.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/inMemory/character/inMemoryCharacter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/inMemory/character/inMemoryCharacter.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/inMemory/character/inMemoryCharacterReadRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/inMemory/character/inMemoryCharacterReadRepository.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/inMemory/character/inMemoryCharacterWriteRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/inMemory/character/inMemoryCharacterWriteRepository.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/inMemory/player/InMemoryPlayerWriteRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/inMemory/player/InMemoryPlayerWriteRepository.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/inMemory/player/inMemoryPlayer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/inMemory/player/inMemoryPlayer.ts -------------------------------------------------------------------------------- /backend/src/adapters/secondaries/inMemory/player/inMemoryPlayerReadRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/adapters/secondaries/inMemory/player/inMemoryPlayerReadRepository.ts -------------------------------------------------------------------------------- /backend/src/configuration/injection/inversify.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/configuration/injection/inversify.config.ts -------------------------------------------------------------------------------- /backend/src/configuration/injection/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/configuration/injection/types.ts -------------------------------------------------------------------------------- /backend/src/configuration/primaries/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/configuration/primaries/app.ts -------------------------------------------------------------------------------- /backend/src/configuration/secondaries/database/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/configuration/secondaries/database/config.ts -------------------------------------------------------------------------------- /backend/src/configuration/secondaries/database/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/configuration/secondaries/database/schemas/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/configuration/secondaries/database/schemas/index.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/character/character.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/character/character.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/character/exceptions/characterDoesNotHaveEnoughSkillPointsException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/character/exceptions/characterDoesNotHaveEnoughSkillPointsException.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/character/exceptions/characterException.ts: -------------------------------------------------------------------------------- 1 | export default class CharacterException extends Error { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /backend/src/core/domain/models/character/exceptions/characterLimitReachedException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/character/exceptions/characterLimitReachedException.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/character/exceptions/characterNameAlreadyTakenException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/character/exceptions/characterNameAlreadyTakenException.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/character/exceptions/characterNameLengthException.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/character/exceptions/characterNameLengthException.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/character/snapshot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/character/snapshot.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/player/player.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/player/player.ts -------------------------------------------------------------------------------- /backend/src/core/domain/models/player/snapshot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/domain/models/player/snapshot.ts -------------------------------------------------------------------------------- /backend/src/core/useCases/character/ICreateACharacter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/useCases/character/ICreateACharacter.ts -------------------------------------------------------------------------------- /backend/src/core/useCases/character/interfaces/characterReadRepositoryInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/useCases/character/interfaces/characterReadRepositoryInterface.ts -------------------------------------------------------------------------------- /backend/src/core/useCases/character/interfaces/characterWriteRepositoryInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/useCases/character/interfaces/characterWriteRepositoryInterface.ts -------------------------------------------------------------------------------- /backend/src/core/useCases/character/types/ICreateACharacterCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/useCases/character/types/ICreateACharacterCommand.ts -------------------------------------------------------------------------------- /backend/src/core/useCases/common/interfaces/uuid4GeneratorInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/useCases/common/interfaces/uuid4GeneratorInterface.ts -------------------------------------------------------------------------------- /backend/src/core/useCases/player/interfaces/playerReadRepositoryInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/useCases/player/interfaces/playerReadRepositoryInterface.ts -------------------------------------------------------------------------------- /backend/src/core/useCases/player/interfaces/playerWriteRepositoryInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/core/useCases/player/interfaces/playerWriteRepositoryInterface.ts -------------------------------------------------------------------------------- /backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/index.ts -------------------------------------------------------------------------------- /backend/src/version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/src/version.ts -------------------------------------------------------------------------------- /backend/stryker.conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/stryker.conf.json -------------------------------------------------------------------------------- /backend/tests/character/characterBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tests/character/characterBuilder.ts -------------------------------------------------------------------------------- /backend/tests/character/e2e/ICreateACharacter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tests/character/e2e/ICreateACharacter.test.ts -------------------------------------------------------------------------------- /backend/tests/character/integration/ICreateACharacter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tests/character/integration/ICreateACharacter.test.ts -------------------------------------------------------------------------------- /backend/tests/character/legolasCharacterBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tests/character/legolasCharacterBuilder.ts -------------------------------------------------------------------------------- /backend/tests/character/unit/ICreateACharacter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tests/character/unit/ICreateACharacter.test.ts -------------------------------------------------------------------------------- /backend/tests/common/stubs/stubUuid4Generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tests/common/stubs/stubUuid4Generator.ts -------------------------------------------------------------------------------- /backend/tests/player/playerBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tests/player/playerBuilder.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /backend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/backend/yarn.lock -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /frontend/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/.eslintrc.json -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/docker/Dockerfile -------------------------------------------------------------------------------- /frontend/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/jest.config.js -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/public/logo192.png -------------------------------------------------------------------------------- /frontend/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/public/logo512.png -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/public/robots.txt -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/App.css -------------------------------------------------------------------------------- /frontend/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/App.test.tsx -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/core/domain/models/character/character.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/core/domain/models/character/character.ts -------------------------------------------------------------------------------- /frontend/src/core/domain/models/player/player.ts: -------------------------------------------------------------------------------- 1 | export default class Player { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /frontend/src/core/useCases/character/ICreateACharacter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/core/useCases/character/ICreateACharacter.ts -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/index.tsx -------------------------------------------------------------------------------- /frontend/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/logo.svg -------------------------------------------------------------------------------- /frontend/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /frontend/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/reportWebVitals.ts -------------------------------------------------------------------------------- /frontend/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/setupTests.ts -------------------------------------------------------------------------------- /frontend/src/version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/src/version.ts -------------------------------------------------------------------------------- /frontend/tests/character/unit/ICreateACharacter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/tests/character/unit/ICreateACharacter.test.ts -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/frontend/yarn.lock -------------------------------------------------------------------------------- /nginx/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/nginx/docker/Dockerfile -------------------------------------------------------------------------------- /nginx/docker/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/nginx/docker/default.conf -------------------------------------------------------------------------------- /nginx/docker/packages/backend.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/nginx/docker/packages/backend.conf -------------------------------------------------------------------------------- /nginx/docker/packages/frontend.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/nginx/docker/packages/frontend.conf -------------------------------------------------------------------------------- /postgres/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/postgres/docker/Dockerfile -------------------------------------------------------------------------------- /postgres/docker/initdb.d/backend.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE idle_rpg WITH OWNER 'user'; 2 | -------------------------------------------------------------------------------- /script/bootstrap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/script/bootstrap -------------------------------------------------------------------------------- /script/lib/docker: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/script/lib/docker -------------------------------------------------------------------------------- /script/server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/script/server -------------------------------------------------------------------------------- /script/update: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/script/update -------------------------------------------------------------------------------- /terraform/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/terraform/.terraform.lock.hcl -------------------------------------------------------------------------------- /terraform/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/terraform/README.md -------------------------------------------------------------------------------- /terraform/output.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/terraform/output.tf -------------------------------------------------------------------------------- /terraform/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/terraform/provider.tf -------------------------------------------------------------------------------- /terraform/server.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/terraform/server.tf -------------------------------------------------------------------------------- /terraform/terraform.tfvars.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haroldcohen/idle-rpg-clean-architecture-demo/HEAD/terraform/terraform.tfvars.example --------------------------------------------------------------------------------