Skip to content

Commit

Permalink
license; update links and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lubeskih committed Nov 21, 2021
1 parent 4d51d0f commit 146521e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions LICENSE.md
@@ -0,0 +1,7 @@
Copyright 2021 Hristijan Lubeski (lh.mk)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -7,7 +7,7 @@ It is using **Angular** as it's frontend, including **apollo** and **graphql** b
In this README I use questionnaire/survey/quiz interchangeably, but I really mean of an application that gives you possible questions and answers, and with each answer on a question you score points towards a final result.

![decision tree](docs/assets/decision-tree.png)
_view in bigger resolution [here](https://raw.githubusercontent.com/lubeskih/sorting-hat/main/docs/assets/decision-tree.png?token=ALSATGCRDIGJHBLZOVEBIX3BTIVPM)_
_view in bigger resolution [here](https://raw.githubusercontent.com/lubeskih/sorting-hat/main/docs/assets/decision-tree.png)_

**Table of Contents**

Expand Down Expand Up @@ -135,7 +135,7 @@ When a user chooses and answers and continues to the next question, the `Decisio
This diagram shows how the `DecisionsService` is doing the calculations:

![scoring diagram](docs/assets/scoring.png)
_view in bigger resolution [here]()_
_view in bigger resolution [here](https://raw.githubusercontent.com/lubeskih/sorting-hat/main/docs/assets/scoring.png)_

What we see here is, each column of the answer matrix represents points given to each house. For each column, the values are added, which represent the total score of one house. After we find the total score of each house, those scores are added to find the total score of all houses together.

Expand All @@ -151,7 +151,7 @@ score = 100 * (score_house / score_total)
<br>

![db relations](docs/assets/relations.png)
_view in bigger resolution [here](https://raw.githubusercontent.com/lubeskih/sorting-hat/main/docs/assets/relations.png?token=ALSATGCI3CL5GJTPYJIMWH3BTIVVU)_
_view in bigger resolution [here](https://raw.githubusercontent.com/lubeskih/sorting-hat/main/docs/assets/relations.png)_

## License

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/app.component.html
Expand Up @@ -14,7 +14,7 @@ <h1>Sorting Hat</h1>
<div class="box info">
<p>
This site is a questionnaire which will determine which of the four school houses you belong most to. Each answer weights towards a specific house.
You can find the <strong>REPOSITORY </strong><a href="#">here</a>. Check the <a href="#">README</a> to learn how it is designed to work. Written with ❤️ by <a href="https://lh.mk" id="link">lh.mk</a>. Enjoy using it as I enjoyed writing it. :-)
You can find the <strong>REPOSITORY</strong><a href="https://github.com/lubeskih/sorting-hat">here</a>. Check the <a href="https://github.com/lubeskih/sorting-hat/blob/main/README.md">README</a> to learn how it is designed to work. Written with ❤️ by <a href="https://lh.mk" id="link">lh.mk</a>. Enjoy using it as I enjoyed writing it. :-)
</p>
</div>
</div>
Expand Down

0 comments on commit 146521e

Please sign in to comment.