From 7eeef67b29a3d020684802d93e4721ef1c594152 Mon Sep 17 00:00:00 2001 From: Balint Morasz Date: Thu, 26 Oct 2023 12:05:16 +0200 Subject: [PATCH] refactor: create structure for backend --- .gitignore | 2 +- .idea/.idea.kemkas.dir/.idea/.gitignore | 13 + .idea/.idea.kemkas.dir/.idea/encodings.xml | 4 + README.md | 53 +-- TODO.md | 2 + .dockerignore => frontend/.dockerignore | 0 Dockerfile => frontend/Dockerfile | 0 frontend/README.md | 46 ++ compile-less.sh => frontend/compile-less.sh | 0 package.json => frontend/package.json | 0 {public => frontend/public}/Merienda-Bold.ttf | Bin .../public}/Merienda-Regular.ttf | Bin {public => frontend/public}/favicon.ico | Bin {public => frontend/public}/index.html | 0 .../public}/km_karakterlap_hysteria_1.2.pdf | Bin {public => frontend/public}/logo-original.png | Bin {public => frontend/public}/logo192.png | Bin {public => frontend/public}/logo512.png | Bin {public => frontend/public}/manifest.json | 0 {public => frontend/public}/ogl.html | 0 {public => frontend/public}/robots.txt | 0 {src => frontend/src}/App.css | 0 {src => frontend/src}/App.test.tsx | 0 {src => frontend/src}/App.tsx | 0 .../components/BasicNewLevel.tsx | 0 .../first-edition/components/FajSelector.tsx | 0 .../first-edition/components/Felszereles.tsx | 0 .../components/HarcosFegyverSpecializacio.tsx | 0 .../src}/first-edition/components/Helpers.tsx | 0 .../components/JellemSelector.tsx | 0 .../components/KalozKritikus.tsx | 0 .../components/KarakterKepzettsegek.tsx | 0 .../components/KepzettsegSelector.tsx | 0 .../first-edition/components/LevelUps.tsx | 0 .../components/MasodlagosErtekek.tsx | 0 .../components/OsztalySelector.tsx | 0 .../components/TulajdonsagInput.tsx | 0 .../components/TulajdonsagNoveles.tsx | 0 .../components/Tulajdonsagok.tsx | 0 .../domain-models/allowed-fegyver.ts | 0 .../domain-models/allowed-pancel-types.ts | 0 .../src}/first-edition/domain-models/faj.ts | 0 .../first-edition/domain-models/fegyver.json | 0 .../domain-models/felszereles.json | 419 ++++++++++++++++++ .../domain-models/felszereles.ts | 0 .../first-edition/domain-models/jellem.ts | 0 .../first-edition/domain-models/karakter.ts | 0 .../domain-models/kepzettsegek.ts | 0 .../first-edition/domain-models/kockak.ts | 0 .../src}/first-edition/domain-models/level.ts | 0 .../domain-models/masodlagos_ertekek.ts | 0 .../memorizalt_varazslat_tabla.json | 0 .../domain-models/memorizalt_varazslatok.ts | 0 .../first-edition/domain-models/mentok.ts | 0 .../first-edition/domain-models/osztaly.ts | 0 .../first-edition/domain-models/pajzs.json | 0 .../first-edition/domain-models/pancel.json | 0 .../domain-models/tamadas_bonus_tabla.json | 0 .../domain-models/tamadas_bonusz.test.ts | 0 .../domain-models/tamadas_bonusz.ts | 0 .../domain-models/tulajdonsag.ts | 0 .../src}/first-edition/pages/.gitignore | 0 .../first-edition/pages/CreateCharacter.less | 0 .../first-edition/pages/CreateCharacter.tsx | 0 .../src}/first-edition/pdf/character.pdf.ts | 0 .../src}/first-edition/pdf/fegyverek.pdf.ts | 0 .../first-edition/pdf/karakter_pdf_view.ts | 0 .../src}/first-edition/pdf/magic.pdf.ts | 0 .../pdf/masodlagos_ertekek.pdf.ts | 0 .../src}/first-edition/pdf/mentok.pdf.ts | 0 .../src}/first-edition/pdf/osztaly_skills.ts | 0 .../first-edition/pdf/osztaly_specials.pdf.ts | 0 .../first-edition/pdf/tulajdonsagok.pdf.ts | 0 {src => frontend/src}/index.css | 0 {src => frontend/src}/index.tsx | 0 {src => frontend/src}/react-app-env.d.ts | 0 {src => frontend/src}/reportWebVitals.ts | 0 {src => frontend/src}/setupTests.ts | 0 {src => frontend/src}/util.ts | 0 tsconfig.json => frontend/tsconfig.json | 0 yarn.lock => frontend/yarn.lock | 0 81 files changed, 491 insertions(+), 48 deletions(-) create mode 100644 .idea/.idea.kemkas.dir/.idea/.gitignore create mode 100644 .idea/.idea.kemkas.dir/.idea/encodings.xml rename .dockerignore => frontend/.dockerignore (100%) rename Dockerfile => frontend/Dockerfile (100%) create mode 100644 frontend/README.md rename compile-less.sh => frontend/compile-less.sh (100%) rename package.json => frontend/package.json (100%) rename {public => frontend/public}/Merienda-Bold.ttf (100%) rename {public => frontend/public}/Merienda-Regular.ttf (100%) rename {public => frontend/public}/favicon.ico (100%) rename {public => frontend/public}/index.html (100%) rename {public => frontend/public}/km_karakterlap_hysteria_1.2.pdf (100%) rename {public => frontend/public}/logo-original.png (100%) rename {public => frontend/public}/logo192.png (100%) rename {public => frontend/public}/logo512.png (100%) rename {public => frontend/public}/manifest.json (100%) rename {public => frontend/public}/ogl.html (100%) rename {public => frontend/public}/robots.txt (100%) rename {src => frontend/src}/App.css (100%) rename {src => frontend/src}/App.test.tsx (100%) rename {src => frontend/src}/App.tsx (100%) rename {src => frontend/src}/first-edition/components/BasicNewLevel.tsx (100%) rename {src => frontend/src}/first-edition/components/FajSelector.tsx (100%) rename {src => frontend/src}/first-edition/components/Felszereles.tsx (100%) rename {src => frontend/src}/first-edition/components/HarcosFegyverSpecializacio.tsx (100%) rename {src => frontend/src}/first-edition/components/Helpers.tsx (100%) rename {src => frontend/src}/first-edition/components/JellemSelector.tsx (100%) rename {src => frontend/src}/first-edition/components/KalozKritikus.tsx (100%) rename {src => frontend/src}/first-edition/components/KarakterKepzettsegek.tsx (100%) rename {src => frontend/src}/first-edition/components/KepzettsegSelector.tsx (100%) rename {src => frontend/src}/first-edition/components/LevelUps.tsx (100%) rename {src => frontend/src}/first-edition/components/MasodlagosErtekek.tsx (100%) rename {src => frontend/src}/first-edition/components/OsztalySelector.tsx (100%) rename {src => frontend/src}/first-edition/components/TulajdonsagInput.tsx (100%) rename {src => frontend/src}/first-edition/components/TulajdonsagNoveles.tsx (100%) rename {src => frontend/src}/first-edition/components/Tulajdonsagok.tsx (100%) rename {src => frontend/src}/first-edition/domain-models/allowed-fegyver.ts (100%) rename {src => frontend/src}/first-edition/domain-models/allowed-pancel-types.ts (100%) rename {src => frontend/src}/first-edition/domain-models/faj.ts (100%) rename {src => frontend/src}/first-edition/domain-models/fegyver.json (100%) create mode 100644 frontend/src/first-edition/domain-models/felszereles.json rename {src => frontend/src}/first-edition/domain-models/felszereles.ts (100%) rename {src => frontend/src}/first-edition/domain-models/jellem.ts (100%) rename {src => frontend/src}/first-edition/domain-models/karakter.ts (100%) rename {src => frontend/src}/first-edition/domain-models/kepzettsegek.ts (100%) rename {src => frontend/src}/first-edition/domain-models/kockak.ts (100%) rename {src => frontend/src}/first-edition/domain-models/level.ts (100%) rename {src => frontend/src}/first-edition/domain-models/masodlagos_ertekek.ts (100%) rename {src => frontend/src}/first-edition/domain-models/memorizalt_varazslat_tabla.json (100%) rename {src => frontend/src}/first-edition/domain-models/memorizalt_varazslatok.ts (100%) rename {src => frontend/src}/first-edition/domain-models/mentok.ts (100%) rename {src => frontend/src}/first-edition/domain-models/osztaly.ts (100%) rename {src => frontend/src}/first-edition/domain-models/pajzs.json (100%) rename {src => frontend/src}/first-edition/domain-models/pancel.json (100%) rename {src => frontend/src}/first-edition/domain-models/tamadas_bonus_tabla.json (100%) rename {src => frontend/src}/first-edition/domain-models/tamadas_bonusz.test.ts (100%) rename {src => frontend/src}/first-edition/domain-models/tamadas_bonusz.ts (100%) rename {src => frontend/src}/first-edition/domain-models/tulajdonsag.ts (100%) rename {src => frontend/src}/first-edition/pages/.gitignore (100%) rename {src => frontend/src}/first-edition/pages/CreateCharacter.less (100%) rename {src => frontend/src}/first-edition/pages/CreateCharacter.tsx (100%) rename {src => frontend/src}/first-edition/pdf/character.pdf.ts (100%) rename {src => frontend/src}/first-edition/pdf/fegyverek.pdf.ts (100%) rename {src => frontend/src}/first-edition/pdf/karakter_pdf_view.ts (100%) rename {src => frontend/src}/first-edition/pdf/magic.pdf.ts (100%) rename {src => frontend/src}/first-edition/pdf/masodlagos_ertekek.pdf.ts (100%) rename {src => frontend/src}/first-edition/pdf/mentok.pdf.ts (100%) rename {src => frontend/src}/first-edition/pdf/osztaly_skills.ts (100%) rename {src => frontend/src}/first-edition/pdf/osztaly_specials.pdf.ts (100%) rename {src => frontend/src}/first-edition/pdf/tulajdonsagok.pdf.ts (100%) rename {src => frontend/src}/index.css (100%) rename {src => frontend/src}/index.tsx (100%) rename {src => frontend/src}/react-app-env.d.ts (100%) rename {src => frontend/src}/reportWebVitals.ts (100%) rename {src => frontend/src}/setupTests.ts (100%) rename {src => frontend/src}/util.ts (100%) rename tsconfig.json => frontend/tsconfig.json (100%) rename yarn.lock => frontend/yarn.lock (100%) diff --git a/.gitignore b/.gitignore index 46a8fab..d80e700 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies -/node_modules +node_modules/ /.pnp .pnp.js diff --git a/.idea/.idea.kemkas.dir/.idea/.gitignore b/.idea/.idea.kemkas.dir/.idea/.gitignore new file mode 100644 index 0000000..d6a425b --- /dev/null +++ b/.idea/.idea.kemkas.dir/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/modules.xml +/contentModel.xml +/.idea.kemkas.iml +/projectSettingsUpdater.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.kemkas.dir/.idea/encodings.xml b/.idea/.idea.kemkas.dir/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.kemkas.dir/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/README.md b/README.md index ca910c3..604666f 100644 --- a/README.md +++ b/README.md @@ -1,52 +1,11 @@ -# KéM karakter app +# KéMkas -Kard és Mágia Karakter alkotó alkalmazás +Kard és Mágia karakter alkotó segédlet (https://app.kemkas.hu) -Please excuse the Hungish, the domain language of KéM is hungarian, but the domain language of programming is english, which created this monster. +\[EN] Please excuse the Hungish, the domain language of KéM is hungarian, but the domain language of programming is english, which resulted in this monster. +\[HU] Kérlek nézd el a kevert angol kifejezeséket, ugyan a szerepáték nyelve magyar, de a programozás szakmai nyelve angol. -## Getting Started with Create React App +## Coding readmes -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). +[Frontend README](./frontend/README.md) -### Available Scripts - -In the project directory, you can run: - -#### `yarn start` - -Runs the app in the development mode.\ -Open [http://localhost:3000](http://localhost:3000) to view it in the browser. - -The page will reload if you make edits.\ -You will also see any lint errors in the console. - -#### `yarn test` - -Launches the test runner in the interactive watch mode.\ -See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. - -#### `yarn run build` - -Builds the app for production to the `build` folder.\ -It correctly bundles React in production mode and optimizes the build for the best performance. - -The build is minified and the filenames include the hashes.\ -Your app is ready to be deployed! - -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. - -#### `yarn run eject` - -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** - -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. - -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. - -### Learn More - -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). - -To learn React, check out the [React documentation](https://reactjs.org/). diff --git a/TODO.md b/TODO.md index 2e086eb..7570764 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,8 @@ # TODO ## Fixes + +### Frontend - Kötelező képezettségek - Birodalmi tolvaj - Tolvaj 9.ik szinttől tiltott képzettségek - eloholtak eluzese PDF-be! diff --git a/.dockerignore b/frontend/.dockerignore similarity index 100% rename from .dockerignore rename to frontend/.dockerignore diff --git a/Dockerfile b/frontend/Dockerfile similarity index 100% rename from Dockerfile rename to frontend/Dockerfile diff --git a/frontend/README.md b/frontend/README.md new file mode 100644 index 0000000..ecf2e9e --- /dev/null +++ b/frontend/README.md @@ -0,0 +1,46 @@ +# Getting Started with Create React App + +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). + +## Available Scripts + +In the project directory, you can run: + +### `yarn start` + +Runs the app in the development mode.\ +Open [http://localhost:3000](http://localhost:3000) to view it in the browser. + +The page will reload if you make edits.\ +You will also see any lint errors in the console. + +### `yarn test` + +Launches the test runner in the interactive watch mode.\ +See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. + +### `yarn run build` + +Builds the app for production to the `build` folder.\ +It correctly bundles React in production mode and optimizes the build for the best performance. + +The build is minified and the filenames include the hashes.\ +Your app is ready to be deployed! + +See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. + +### `yarn run eject` + +**Note: this is a one-way operation. Once you `eject`, you can’t go back!** + +If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. + +Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. + +You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. + +## Learn More + +You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). + +To learn React, check out the [React documentation](https://reactjs.org/). diff --git a/compile-less.sh b/frontend/compile-less.sh similarity index 100% rename from compile-less.sh rename to frontend/compile-less.sh diff --git a/package.json b/frontend/package.json similarity index 100% rename from package.json rename to frontend/package.json diff --git a/public/Merienda-Bold.ttf b/frontend/public/Merienda-Bold.ttf similarity index 100% rename from public/Merienda-Bold.ttf rename to frontend/public/Merienda-Bold.ttf diff --git a/public/Merienda-Regular.ttf b/frontend/public/Merienda-Regular.ttf similarity index 100% rename from public/Merienda-Regular.ttf rename to frontend/public/Merienda-Regular.ttf diff --git a/public/favicon.ico b/frontend/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to frontend/public/favicon.ico diff --git a/public/index.html b/frontend/public/index.html similarity index 100% rename from public/index.html rename to frontend/public/index.html diff --git a/public/km_karakterlap_hysteria_1.2.pdf b/frontend/public/km_karakterlap_hysteria_1.2.pdf similarity index 100% rename from public/km_karakterlap_hysteria_1.2.pdf rename to frontend/public/km_karakterlap_hysteria_1.2.pdf diff --git a/public/logo-original.png b/frontend/public/logo-original.png similarity index 100% rename from public/logo-original.png rename to frontend/public/logo-original.png diff --git a/public/logo192.png b/frontend/public/logo192.png similarity index 100% rename from public/logo192.png rename to frontend/public/logo192.png diff --git a/public/logo512.png b/frontend/public/logo512.png similarity index 100% rename from public/logo512.png rename to frontend/public/logo512.png diff --git a/public/manifest.json b/frontend/public/manifest.json similarity index 100% rename from public/manifest.json rename to frontend/public/manifest.json diff --git a/public/ogl.html b/frontend/public/ogl.html similarity index 100% rename from public/ogl.html rename to frontend/public/ogl.html diff --git a/public/robots.txt b/frontend/public/robots.txt similarity index 100% rename from public/robots.txt rename to frontend/public/robots.txt diff --git a/src/App.css b/frontend/src/App.css similarity index 100% rename from src/App.css rename to frontend/src/App.css diff --git a/src/App.test.tsx b/frontend/src/App.test.tsx similarity index 100% rename from src/App.test.tsx rename to frontend/src/App.test.tsx diff --git a/src/App.tsx b/frontend/src/App.tsx similarity index 100% rename from src/App.tsx rename to frontend/src/App.tsx diff --git a/src/first-edition/components/BasicNewLevel.tsx b/frontend/src/first-edition/components/BasicNewLevel.tsx similarity index 100% rename from src/first-edition/components/BasicNewLevel.tsx rename to frontend/src/first-edition/components/BasicNewLevel.tsx diff --git a/src/first-edition/components/FajSelector.tsx b/frontend/src/first-edition/components/FajSelector.tsx similarity index 100% rename from src/first-edition/components/FajSelector.tsx rename to frontend/src/first-edition/components/FajSelector.tsx diff --git a/src/first-edition/components/Felszereles.tsx b/frontend/src/first-edition/components/Felszereles.tsx similarity index 100% rename from src/first-edition/components/Felszereles.tsx rename to frontend/src/first-edition/components/Felszereles.tsx diff --git a/src/first-edition/components/HarcosFegyverSpecializacio.tsx b/frontend/src/first-edition/components/HarcosFegyverSpecializacio.tsx similarity index 100% rename from src/first-edition/components/HarcosFegyverSpecializacio.tsx rename to frontend/src/first-edition/components/HarcosFegyverSpecializacio.tsx diff --git a/src/first-edition/components/Helpers.tsx b/frontend/src/first-edition/components/Helpers.tsx similarity index 100% rename from src/first-edition/components/Helpers.tsx rename to frontend/src/first-edition/components/Helpers.tsx diff --git a/src/first-edition/components/JellemSelector.tsx b/frontend/src/first-edition/components/JellemSelector.tsx similarity index 100% rename from src/first-edition/components/JellemSelector.tsx rename to frontend/src/first-edition/components/JellemSelector.tsx diff --git a/src/first-edition/components/KalozKritikus.tsx b/frontend/src/first-edition/components/KalozKritikus.tsx similarity index 100% rename from src/first-edition/components/KalozKritikus.tsx rename to frontend/src/first-edition/components/KalozKritikus.tsx diff --git a/src/first-edition/components/KarakterKepzettsegek.tsx b/frontend/src/first-edition/components/KarakterKepzettsegek.tsx similarity index 100% rename from src/first-edition/components/KarakterKepzettsegek.tsx rename to frontend/src/first-edition/components/KarakterKepzettsegek.tsx diff --git a/src/first-edition/components/KepzettsegSelector.tsx b/frontend/src/first-edition/components/KepzettsegSelector.tsx similarity index 100% rename from src/first-edition/components/KepzettsegSelector.tsx rename to frontend/src/first-edition/components/KepzettsegSelector.tsx diff --git a/src/first-edition/components/LevelUps.tsx b/frontend/src/first-edition/components/LevelUps.tsx similarity index 100% rename from src/first-edition/components/LevelUps.tsx rename to frontend/src/first-edition/components/LevelUps.tsx diff --git a/src/first-edition/components/MasodlagosErtekek.tsx b/frontend/src/first-edition/components/MasodlagosErtekek.tsx similarity index 100% rename from src/first-edition/components/MasodlagosErtekek.tsx rename to frontend/src/first-edition/components/MasodlagosErtekek.tsx diff --git a/src/first-edition/components/OsztalySelector.tsx b/frontend/src/first-edition/components/OsztalySelector.tsx similarity index 100% rename from src/first-edition/components/OsztalySelector.tsx rename to frontend/src/first-edition/components/OsztalySelector.tsx diff --git a/src/first-edition/components/TulajdonsagInput.tsx b/frontend/src/first-edition/components/TulajdonsagInput.tsx similarity index 100% rename from src/first-edition/components/TulajdonsagInput.tsx rename to frontend/src/first-edition/components/TulajdonsagInput.tsx diff --git a/src/first-edition/components/TulajdonsagNoveles.tsx b/frontend/src/first-edition/components/TulajdonsagNoveles.tsx similarity index 100% rename from src/first-edition/components/TulajdonsagNoveles.tsx rename to frontend/src/first-edition/components/TulajdonsagNoveles.tsx diff --git a/src/first-edition/components/Tulajdonsagok.tsx b/frontend/src/first-edition/components/Tulajdonsagok.tsx similarity index 100% rename from src/first-edition/components/Tulajdonsagok.tsx rename to frontend/src/first-edition/components/Tulajdonsagok.tsx diff --git a/src/first-edition/domain-models/allowed-fegyver.ts b/frontend/src/first-edition/domain-models/allowed-fegyver.ts similarity index 100% rename from src/first-edition/domain-models/allowed-fegyver.ts rename to frontend/src/first-edition/domain-models/allowed-fegyver.ts diff --git a/src/first-edition/domain-models/allowed-pancel-types.ts b/frontend/src/first-edition/domain-models/allowed-pancel-types.ts similarity index 100% rename from src/first-edition/domain-models/allowed-pancel-types.ts rename to frontend/src/first-edition/domain-models/allowed-pancel-types.ts diff --git a/src/first-edition/domain-models/faj.ts b/frontend/src/first-edition/domain-models/faj.ts similarity index 100% rename from src/first-edition/domain-models/faj.ts rename to frontend/src/first-edition/domain-models/faj.ts diff --git a/src/first-edition/domain-models/fegyver.json b/frontend/src/first-edition/domain-models/fegyver.json similarity index 100% rename from src/first-edition/domain-models/fegyver.json rename to frontend/src/first-edition/domain-models/fegyver.json diff --git a/frontend/src/first-edition/domain-models/felszereles.json b/frontend/src/first-edition/domain-models/felszereles.json new file mode 100644 index 0000000..d6498ac --- /dev/null +++ b/frontend/src/first-edition/domain-models/felszereles.json @@ -0,0 +1,419 @@ +{ + "data": [ + { + "Id": "acel_es_kova", + "Name": "Acél és kova", + "Type": "simple", + "PriceInGold": 0.1 + }, + { + "Id": "aso", + "Name": "Ásó", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "vas_bogracs", + "Name": "Bogrács, vas", + "Type": "simple", + "PriceInGold": 0.5 + }, + { + "Id": "borostomlo", + "Name": "Borostömlő", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "csakany", + "Name": "Csákány", + "Type": "simple", + "PriceInGold": 5 + }, + { + "Id": "elelem", + "Name": "Élelem, tartós úti, egy napra", + "Type": "simple", + "PriceInGold": 0.5 + }, + { + "Id": "faklya", + "Name": "Fáklya", + "Type": "simple", + "PriceInGold": 0.01 + }, + + { + "Id": "farud", + "Name": "Farúd, 10’", + "Type": "simple", + "PriceInGold": 0.03 + }, + { + "Id": "feszitovas", + "Name": "Feszítővas", + "Type": "simple", + "PriceInGold": 2 + }, + { + "Id": "fustulo", + "Name": "Füstölő, rúd", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "gyertya_viasz", + "Name": "Gyertya, viasz", + "Type": "simple", + "PriceInGold": 0.1 + }, + { + "Id": "halasz_halo", + "Name": "Háló, halász, 5’*5’", + "Type": "simple", + "PriceInGold": 4 + }, + { + "Id": "hatizsak", + "Name": "Hátizsák", + "Type": "simple", + "PriceInGold": 2 + }, + { + "Id": "hordo_kicsi", + "Name": "Hordó, kicsi", + "Type": "simple", + "PriceInGold": 2 + }, + { + "Id": "illatszer", + "Name": "Illatszer", + "Type": "simple", + "PriceInGold": 5 + }, + { + "Id": "kotel_kender_50", + "Name": "Kötél, kender, 50’", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "kotel_selyem_50", + "Name": "Kötél, selyem, 50’", + "Type": "simple", + "PriceInGold": 10 + }, + { + "Id": "kreta", + "Name": "Kréta", + "Type": "simple", + "PriceInGold": 0.01 + }, + { + "Id": "lada_fa_kicsi", + "Name": "Láda, fa, kicsi", + "Type": "simple", + "PriceInGold": 2 + }, + { + "Id": "lada_fa_nagy", + "Name": "Láda, fa, nagy", + "Type": "simple", + "PriceInGold": 5 + }, + { + "Id": "lada_vas_kicsi", + "Name": "Láda, vas, kicsi", + "Type": "simple", + "PriceInGold": 9 + },{ + "Id": "lada_vas_nagy", + "Name": "Láda, vas, nagy", + "Type": "simple", + "PriceInGold": 28 + }, + { + "Id": "lakat_egyszeru", + "Name": "Lakat, egyszerű", + "Type": "simple", + "PriceInGold": 20 + }, + { + "Id": "lakat_kivalo", + "Name": "Lakat, kiváló", + "Type": "simple", + "PriceInGold": 80 + }, + { + "Id": "olaj_lampa_egyszeru", + "Name": "Lámpa, olaj, egyszerű", + "Type": "simple", + "PriceInGold": 1 + }, + + { + "Id": "olaj_lampa_vedett", + "Name": "Lámpa, olaj, védett", + "Type": "simple", + "PriceInGold": 7 + }, + { + "Id": "olaj_lampa_nagy", + "Name": "Lámpa, olaj, nagy", + "Type": "simple", + "PriceInGold": 12 + }, + { + "Id": "lanc_10", + "Name": "Lánc, 10’", + "Type": "simple", + "PriceInGold": 10 + }, + { + "Id": "maszovas", + "Name": "Mászóvas", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "olaj_palck", + "Name": "Olaj, palack", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "palack_cserep", + "Name": "Palack, cserép", + "Type": "simple", + "PriceInGold": 0.03 + }, + { + "Id": "palack_uveg", + "Name": "Palack, üveg", + "Type": "simple", + "PriceInGold": 2 + }, + { + "Id": "papir", + "Name": "Papír, lap", + "Type": "simple", + "PriceInGold": 0.4 + }, + { + "Id": "pecsetgyuru", + "Name": "Pecsétgyűrű", + "Type": "simple", + "PriceInGold": 8 + }, + { + "Id": "pecsetviasz", + "Name": "Pecsétviasz", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "pergamen", + "Name": "Pergamen, lap", + "Type": "simple", + "PriceInGold": 0.2 + }, + { + "Id": "sator", + "Name": "Sátor", + "Type": "simple", + "PriceInGold": 10 + }, + { + "Id": "sav", + "Name": "Sav", + "Type": "simple", + "PriceInGold": 10 + }, + { + "Id": "szappan", + "Name": "Szappan", + "Type": "simple", + "PriceInGold": 0.5 + }, + { + "Id": "szentelt_viz", + "Name": "Szenteltvíz", + "Type": "simple", + "PriceInGold": 25 + }, + { + "Id": "szog", + "Name": "Szög", + "Type": "simple", + "PriceInGold": 0.01 + }, + { + "Id": "takaro", + "Name": "Takaró", + "Type": "simple", + "PriceInGold": 0.2 + }, + { + "Id": "tarsoly", + "Name": "Tarsoly", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "tegez", + "Name": "Tegez", + "Type": "simple", + "PriceInGold": 2 + }, + { + "Id": "telercstarto", + "Name": "Tekercstartó", + "Type": "simple", + "PriceInGold": 5 + }, + { + "Id": "tinta", + "Name": "Tinta", + "Type": "simple", + "PriceInGold": 8 + }, + { + "Id": "tukor", + "Name": "Tükör", + "Type": "simple", + "PriceInGold": 10 + }, + { + "Id": "uvegcse", + "Name": "Üvegcse", + "Type": "simple", + "PriceInGold": 1 + }, + { + "Id": "vodor", + "Name": "Vödör", + "Type": "simple", + "PriceInGold": 0.5 + }, + { + "Id": "zsak", + "Name": "Zsák", + "Type": "simple", + "PriceInGold": 0.1 + }, + { + "Id": "elokelo_ruha", + "Name": "Előkelő", + "Type": "clothes", + "PriceInGold": 75 + }, + { + "Id": "elokelo_ruha", + "Name": "Előkelő", + "Type": "clothes", + "PriceInGold": 75 + }, + { + "Id": "kozrendu_ruha", + "Name": "Közrendű", + "Type": "clothes", + "PriceInGold": 0.1 + }, + { + "Id": "meleg_ruha", + "Name": "Meleg", + "Type": "clothes", + "PriceInGold": 8 + }, + { + "Id": "mesterember_ruha", + "Name": "Mesterember", + "Type": "clothes", + "PriceInGold": 1 + }, + { + "Id": "nagyuri_ruha", + "Name": "Nagyúri", + "Type": "clothes", + "PriceInGold": 200 + }, + { + "Id": "papi_ruha", + "Name": "Papi", + "Type": "clothes", + "PriceInGold": 5 + }, + { + "Id": "utazo_ruha", + "Name": "Utazó", + "Type": "clothes", + "PriceInGold": 1 + }, + { + "Id": "alkimista_labor", + "Name": "Alkimista labor", + "Type": "special", + "PriceInGold": 500 + }, + { + "Id": "homokora", + "Name": "Homokóra", + "Type": "special", + "PriceInGold": 25 + }, + { + "Id": "merleg", + "Name": "Mérleg", + "Type": "special", + "PriceInGold": 2 + }, + { + "Id": "nagyito", + "Name": "Nagyító", + "Type": "special", + "PriceInGold": 100 + }, + { + "Id": "szent_szimbolum", + "Name": "Szent szimbólum", + "Type": "special", + "PriceInGold": 25 + }, + { + "Id": "tavcso", + "Name": "Távcső", + "Type": "special", + "PriceInGold": 1000 + }, + { + "Id": "tolvajszerszamok", + "Name": "Tolvajszerszámok", + "Type": "special", + "PriceInGold": 30 + }, + { + "Id": "varazskomponens_tarto", + "Name": "Varázskomponenstartó", + "Type": "special", + "PriceInGold": 5 + }, + { + "Id": "varazskonyv", + "Name": "Varázskönyv, üres", + "Type": "special", + "PriceInGold": 15 + }, + { + "Id": "vizora", + "Name": "Vízóra", + "Type": "special", + "PriceInGold": 500 + }, + { + "Id": "zeneszerszam", + "Name": "Zeneszerszám, egyszerű", + "Type": "special", + "PriceInGold": 5 + } + ] +} \ No newline at end of file diff --git a/src/first-edition/domain-models/felszereles.ts b/frontend/src/first-edition/domain-models/felszereles.ts similarity index 100% rename from src/first-edition/domain-models/felszereles.ts rename to frontend/src/first-edition/domain-models/felszereles.ts diff --git a/src/first-edition/domain-models/jellem.ts b/frontend/src/first-edition/domain-models/jellem.ts similarity index 100% rename from src/first-edition/domain-models/jellem.ts rename to frontend/src/first-edition/domain-models/jellem.ts diff --git a/src/first-edition/domain-models/karakter.ts b/frontend/src/first-edition/domain-models/karakter.ts similarity index 100% rename from src/first-edition/domain-models/karakter.ts rename to frontend/src/first-edition/domain-models/karakter.ts diff --git a/src/first-edition/domain-models/kepzettsegek.ts b/frontend/src/first-edition/domain-models/kepzettsegek.ts similarity index 100% rename from src/first-edition/domain-models/kepzettsegek.ts rename to frontend/src/first-edition/domain-models/kepzettsegek.ts diff --git a/src/first-edition/domain-models/kockak.ts b/frontend/src/first-edition/domain-models/kockak.ts similarity index 100% rename from src/first-edition/domain-models/kockak.ts rename to frontend/src/first-edition/domain-models/kockak.ts diff --git a/src/first-edition/domain-models/level.ts b/frontend/src/first-edition/domain-models/level.ts similarity index 100% rename from src/first-edition/domain-models/level.ts rename to frontend/src/first-edition/domain-models/level.ts diff --git a/src/first-edition/domain-models/masodlagos_ertekek.ts b/frontend/src/first-edition/domain-models/masodlagos_ertekek.ts similarity index 100% rename from src/first-edition/domain-models/masodlagos_ertekek.ts rename to frontend/src/first-edition/domain-models/masodlagos_ertekek.ts diff --git a/src/first-edition/domain-models/memorizalt_varazslat_tabla.json b/frontend/src/first-edition/domain-models/memorizalt_varazslat_tabla.json similarity index 100% rename from src/first-edition/domain-models/memorizalt_varazslat_tabla.json rename to frontend/src/first-edition/domain-models/memorizalt_varazslat_tabla.json diff --git a/src/first-edition/domain-models/memorizalt_varazslatok.ts b/frontend/src/first-edition/domain-models/memorizalt_varazslatok.ts similarity index 100% rename from src/first-edition/domain-models/memorizalt_varazslatok.ts rename to frontend/src/first-edition/domain-models/memorizalt_varazslatok.ts diff --git a/src/first-edition/domain-models/mentok.ts b/frontend/src/first-edition/domain-models/mentok.ts similarity index 100% rename from src/first-edition/domain-models/mentok.ts rename to frontend/src/first-edition/domain-models/mentok.ts diff --git a/src/first-edition/domain-models/osztaly.ts b/frontend/src/first-edition/domain-models/osztaly.ts similarity index 100% rename from src/first-edition/domain-models/osztaly.ts rename to frontend/src/first-edition/domain-models/osztaly.ts diff --git a/src/first-edition/domain-models/pajzs.json b/frontend/src/first-edition/domain-models/pajzs.json similarity index 100% rename from src/first-edition/domain-models/pajzs.json rename to frontend/src/first-edition/domain-models/pajzs.json diff --git a/src/first-edition/domain-models/pancel.json b/frontend/src/first-edition/domain-models/pancel.json similarity index 100% rename from src/first-edition/domain-models/pancel.json rename to frontend/src/first-edition/domain-models/pancel.json diff --git a/src/first-edition/domain-models/tamadas_bonus_tabla.json b/frontend/src/first-edition/domain-models/tamadas_bonus_tabla.json similarity index 100% rename from src/first-edition/domain-models/tamadas_bonus_tabla.json rename to frontend/src/first-edition/domain-models/tamadas_bonus_tabla.json diff --git a/src/first-edition/domain-models/tamadas_bonusz.test.ts b/frontend/src/first-edition/domain-models/tamadas_bonusz.test.ts similarity index 100% rename from src/first-edition/domain-models/tamadas_bonusz.test.ts rename to frontend/src/first-edition/domain-models/tamadas_bonusz.test.ts diff --git a/src/first-edition/domain-models/tamadas_bonusz.ts b/frontend/src/first-edition/domain-models/tamadas_bonusz.ts similarity index 100% rename from src/first-edition/domain-models/tamadas_bonusz.ts rename to frontend/src/first-edition/domain-models/tamadas_bonusz.ts diff --git a/src/first-edition/domain-models/tulajdonsag.ts b/frontend/src/first-edition/domain-models/tulajdonsag.ts similarity index 100% rename from src/first-edition/domain-models/tulajdonsag.ts rename to frontend/src/first-edition/domain-models/tulajdonsag.ts diff --git a/src/first-edition/pages/.gitignore b/frontend/src/first-edition/pages/.gitignore similarity index 100% rename from src/first-edition/pages/.gitignore rename to frontend/src/first-edition/pages/.gitignore diff --git a/src/first-edition/pages/CreateCharacter.less b/frontend/src/first-edition/pages/CreateCharacter.less similarity index 100% rename from src/first-edition/pages/CreateCharacter.less rename to frontend/src/first-edition/pages/CreateCharacter.less diff --git a/src/first-edition/pages/CreateCharacter.tsx b/frontend/src/first-edition/pages/CreateCharacter.tsx similarity index 100% rename from src/first-edition/pages/CreateCharacter.tsx rename to frontend/src/first-edition/pages/CreateCharacter.tsx diff --git a/src/first-edition/pdf/character.pdf.ts b/frontend/src/first-edition/pdf/character.pdf.ts similarity index 100% rename from src/first-edition/pdf/character.pdf.ts rename to frontend/src/first-edition/pdf/character.pdf.ts diff --git a/src/first-edition/pdf/fegyverek.pdf.ts b/frontend/src/first-edition/pdf/fegyverek.pdf.ts similarity index 100% rename from src/first-edition/pdf/fegyverek.pdf.ts rename to frontend/src/first-edition/pdf/fegyverek.pdf.ts diff --git a/src/first-edition/pdf/karakter_pdf_view.ts b/frontend/src/first-edition/pdf/karakter_pdf_view.ts similarity index 100% rename from src/first-edition/pdf/karakter_pdf_view.ts rename to frontend/src/first-edition/pdf/karakter_pdf_view.ts diff --git a/src/first-edition/pdf/magic.pdf.ts b/frontend/src/first-edition/pdf/magic.pdf.ts similarity index 100% rename from src/first-edition/pdf/magic.pdf.ts rename to frontend/src/first-edition/pdf/magic.pdf.ts diff --git a/src/first-edition/pdf/masodlagos_ertekek.pdf.ts b/frontend/src/first-edition/pdf/masodlagos_ertekek.pdf.ts similarity index 100% rename from src/first-edition/pdf/masodlagos_ertekek.pdf.ts rename to frontend/src/first-edition/pdf/masodlagos_ertekek.pdf.ts diff --git a/src/first-edition/pdf/mentok.pdf.ts b/frontend/src/first-edition/pdf/mentok.pdf.ts similarity index 100% rename from src/first-edition/pdf/mentok.pdf.ts rename to frontend/src/first-edition/pdf/mentok.pdf.ts diff --git a/src/first-edition/pdf/osztaly_skills.ts b/frontend/src/first-edition/pdf/osztaly_skills.ts similarity index 100% rename from src/first-edition/pdf/osztaly_skills.ts rename to frontend/src/first-edition/pdf/osztaly_skills.ts diff --git a/src/first-edition/pdf/osztaly_specials.pdf.ts b/frontend/src/first-edition/pdf/osztaly_specials.pdf.ts similarity index 100% rename from src/first-edition/pdf/osztaly_specials.pdf.ts rename to frontend/src/first-edition/pdf/osztaly_specials.pdf.ts diff --git a/src/first-edition/pdf/tulajdonsagok.pdf.ts b/frontend/src/first-edition/pdf/tulajdonsagok.pdf.ts similarity index 100% rename from src/first-edition/pdf/tulajdonsagok.pdf.ts rename to frontend/src/first-edition/pdf/tulajdonsagok.pdf.ts diff --git a/src/index.css b/frontend/src/index.css similarity index 100% rename from src/index.css rename to frontend/src/index.css diff --git a/src/index.tsx b/frontend/src/index.tsx similarity index 100% rename from src/index.tsx rename to frontend/src/index.tsx diff --git a/src/react-app-env.d.ts b/frontend/src/react-app-env.d.ts similarity index 100% rename from src/react-app-env.d.ts rename to frontend/src/react-app-env.d.ts diff --git a/src/reportWebVitals.ts b/frontend/src/reportWebVitals.ts similarity index 100% rename from src/reportWebVitals.ts rename to frontend/src/reportWebVitals.ts diff --git a/src/setupTests.ts b/frontend/src/setupTests.ts similarity index 100% rename from src/setupTests.ts rename to frontend/src/setupTests.ts diff --git a/src/util.ts b/frontend/src/util.ts similarity index 100% rename from src/util.ts rename to frontend/src/util.ts diff --git a/tsconfig.json b/frontend/tsconfig.json similarity index 100% rename from tsconfig.json rename to frontend/tsconfig.json diff --git a/yarn.lock b/frontend/yarn.lock similarity index 100% rename from yarn.lock rename to frontend/yarn.lock