Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Jul 1, 2024
1 parent 52a0f58 commit b0c5e79
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DentallApp is a web application with chatbot for appointment management, reminde
- [Plugin configuration](#plugin-configuration)
- [Credentials](#credentials)
- [Validate identity documents](#validate-identity-documents)
- [Configure languages](#configure-languages)
- [Diagrams](#diagrams)
- [General architecture](#general-architecture)
- [Core layer](#core-layer)
Expand Down Expand Up @@ -178,7 +179,7 @@ By default only two plugins are loaded:
- `Plugin.ChatBot.dll`
- `Plugin.AppointmentReminders.dll`

You can add other plugins by modifying the [PLUGINS](https://github.com/DentallApp/back-end/blob/d2dfdbd2a75b14be0ff87f531abc367040d87691/.env.example#L10-L13) key from the .env file:
You can add other plugins by modifying the [PLUGINS](https://github.com/DentallApp/back-end/blob/52a0f58f8a721d731b0c21da75bb648eedb40d33/.env.example#L9-L12) key from the .env file:
```.env
PLUGINS="
Plugin.ChatBot.dll
Expand Down Expand Up @@ -229,6 +230,17 @@ In case there is no plugin loaded to validate the identity document, the host ap

It was decided to implement the logic to validate identity documents from a plugin, because it is flexible, since it allows to change the implementation without having to modify the source code of the host application.

## Configure languages

This project uses [resource files](https://github.com/DentallApp/back-end/tree/dev/src/Shared/Resources) to store response messages in different languages. If you want to add a new language, you must modify the [Languages section](https://github.com/DentallApp/back-end/blob/52a0f58f8a721d731b0c21da75bb648eedb40d33/src/HostApplication/appsettings.json#L7-L10) of `appsettings.json`.
```json
"Languages": [
"es",
"en",
"fr"
]
```

## Diagrams

### General architecture
Expand Down

0 comments on commit b0c5e79

Please sign in to comment.