Skip to content

Commit

Permalink
Exchanged emojis by emoji codes
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzDiebold committed Jan 27, 2018
1 parent f1b4d91 commit 91dcc6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions quiz-app/README.md
Expand Up @@ -8,7 +8,7 @@
<img src="./images/readme/quiz-app-2.jpg" width="60%" style="max-width:100%;" alt="Screenshot 2">

[Angular v5](https://github.com/angular/angular) app using the reactive libraries [@ngrx](https://github.com/ngrx/platform) and the [Bulma](https://bulma.io) CSS framework.
The quizzes and questions are retrieved from the [QuizServer](../quiz-server/) JSON backend.
The quizzes and questions are retrieved from the [QuizServer](../quiz-server) JSON backend.

Angular concepts/techniques used:
- [Reactive Forms](https://angular.io/guide/reactive-forms)
Expand Down Expand Up @@ -66,15 +66,15 @@ $color-incorrect: #aa0000;
```


## 🌍 i18n
## :earth_africa: i18n
If you want to add a new language, i.e. french:

1. Run `ng xi18n`.
2. Copy newly generated file `src/messages.xlf` to `src/locale/messages.fr.xlf` and add `<target>...</target>` for each `<source>...</source>`.
3. Serve for test: `ng serve --aot --locale fr --i18n-format xlf --i18n-file src/locale/messages.fr.xlf`


## 🚀 Build
## :rocket: Build
Build for production:

`ng build --prod`
Expand Down Expand Up @@ -102,5 +102,5 @@ In the root folder `ng2d-quiz-app` run the `angular-cli-ghpages` command with th
Your Angular client app should now be available at `https://<USERNAME>.github.io/<REPOSITORY_NAME>/`.


## ️ TODOs
## :ballot_box_with_check:️ TODOs
- [ ] Use Bulma v0.6.3 when published (warning messages in build process, [Bulma issue #1190](https://github.com/jgthms/bulma/issues/1190)).
10 changes: 5 additions & 5 deletions quiz-server/README.md
Expand Up @@ -9,10 +9,10 @@ All data for quizzes, questions and answers are stored in a Google Sheet and can

The requirement for the backend is to serve the questions and answers in a *randomized* order, while being stateless at the same time.
This is achieved by using a random seed:
The [QuizApp](../quiz-app/) client app generates a random seed on start-up, which is kept constant over the entire client app lifetime. This seed is sent with every request and used for shuffling the questions and answers.
The [QuizApp](../quiz-app) client app generates a random seed on start-up, which is kept constant over the entire client app lifetime. This seed is sent with every request and used for shuffling the questions and answers.


## 🎯 API endpoints
## :dart: API endpoints

#### getQuizzesAndQuestions
Retrieve all existing and active quizzes with their corresponding questions and answers.
Expand Down Expand Up @@ -72,7 +72,7 @@ Check a given answer for a specific question in a quiz.
```


## ☑️ Sheet Preparation
## :ballot_box_with_check: Sheet Preparation
1. Get the `quiz-app-quizzes` Google Sheet template:
1. Log in to your Google account.
2. Open the [quiz-app-quizzes](https://docs.google.com/spreadsheets/d/1p7T1wYg6_8ym0JypyryvCsXt7CngNT-Tzyu_RNZ-K0g/edit?usp=sharing) Google Sheet template.
Expand All @@ -90,7 +90,7 @@ Check a given answer for a specific question in a quiz.
3. Copy the ID of your new `quiz-app-quizzes` sheet, it is needed in the configuration step later. The ID is part of the URL: `https://docs.google.com/spreadsheets/d/<YOUR_SPREADSHEET_ID>/edit`


## 🎬 Script Installation
## :clapper: Script Installation
1. Get the `quiz-app-server` `Google Script` (`.gs`) code 🤓:
1. Log in to your Google Account.
2. Open the [quiz-app-server](https://script.google.com/d/1aw4MUReEM5EigvdJ7a7oOhvUnHU91UAkoLr-bxRbY66JeDci1iXJQSZO/edit?usp=sharing) Google Apps Script project template.
Expand All @@ -104,7 +104,7 @@ Check a given answer for a specific question in a quiz.
```


## 🚀 Deployment
## :rocket: Deployment
The deployment of the QuizServer works as follows:
1. Click `Publish`.
- <img src="./images/readme/quiz-app-server-deploy_1.jpg" width="60%" style="max-width:100%;" alt="QuizApp Server deployment 1">
Expand Down

0 comments on commit 91dcc6d

Please sign in to comment.