base on # Diia
This repository provides an overview over the flagship product [**Diia**](https://diia.gov.ua/) developed by the [**Ministry of Digital Transformation of Ukraine**](https://thedigital.gov.ua/).
**Diia** is an app with access to citizen’s digital documents and government services.
The application was created so that Ukrainians could interact with the state in a few clicks, without spending their time on queues and paperwork - **Diia** open source application will help countries, companies and communities build a foundation for long-term relationships. At the heart of these relations are openness, efficiency and humanity.
We're pleased to share the **Diia** project with you.
## Useful Links
|Topic|Link|Description|
|--|--|--|
|Ministry of Digital Transformation of Ukraine|https://thedigital.gov.ua/|The Official homepage of the Ministry of Digital Transformation of Ukraine|
|Diia App|https://diia.gov.ua/|The Official website for the Diia application
## Getting Started
### Installing
1.1. Clone the repository and open the Xcode project file.
```bash
git clone https://github.com/diia-open-source/ios-diia.git
cd ios-diia
open DiiaOpenSource.xcodeproj
```
1.2. Wait for the SPM packages to finish resolving.
### Executing program
Build and run the project on iOS device or simulator.
## How to test
To get mock user for testing please refer to the [TESTING.md](https://github.com/diia-open-source/diia-setup-howto/blob/main/TESTING.md) file for details.
## Configuration Details
For configuring project we are using `.xcconfig` settings files:
__Development Environment (DiiaDev.xcconfig)__
```text
// API
API_BASE_URL = api2oss.diia.gov.ua
// APP SETTINGS
APP_NAME = Diia OpenSource
APP_BUNDLE_ID = ua.gov.diia.opensource.app
SCHEME = DiiaDev
```
- `API_BASE_URL`: Set this to the URL of your backend server.
- `APP_NAME`: Defines the name of the application.
- `APP_BUNDLE_ID`: Specifies the bundle identifier of the application.
- `SCHEME`: Indicates the scheme used for the application.
## Features
### Authorization
- Presenting authentication available methods
- Bank-ID authorization method
- PinCode. Enteing, changing pincode plust enabling the using biometry option
### Documents
- Presenting collection of available documents with the ability to change the order
- Driver License document
### Public Services
- Presenting list of avalable public services
- Criminal Record Extract service
### Settings Menu
It serves as the go-to hub for personalized control and management within the app, offering features like the ability to reorder documents, change the app's pin code, toggle biometry on/off, contact support, read about the app and policies, and log out.
## Dependencies
Almost all features and core components such as network core and UI library are shipped as separate SPM packages.
### 1st party
* [DiiaMVPModule](https://github.com/diia-open-source/ios-mvpmodule.git): Model-View-Presenter basic protocols
* [DiiaNetwork](https://github.com/diia-open-source/ios-network.git): The foundational network layer
* [DiiaUIComponents](https://github.com/diia-open-source/ios-uicomponents.git): Basic UI components and primitives.
* [DiiaCommonTypes](https://github.com/diia-open-source/ios-commontypes.git): Types (classes, strucutres, protocols) that have to be shared amond several packages.
* [DiiaCommonServices](https://github.com/diia-open-source/ios-commonservices.git): Foundational utilities and modules providing essential support for Diia on iOS.
* [DiiaAuthorization](https://github.com/diia-open-source/ios-authorization.git): Core of authorization, authorization methods and pin code.
* [DiiaDocuments](https://github.com/diia-open-source/ios-documents.git): Documents core functionality and particular documents
* [DiiaPublicServices](https://github.com/diia-open-source/ios-publicservices.git): Public services core functionality and particular public services.
### 3rd party
* [RNCryptor](https://github.com/RNCryptor/RNCryptor.git)
* [Lottie](https://github.com/airbnb/lottie-spm.git)
## How to contribute
The Diia project welcomes contributions into this solution; please refer to the [CONTRIBUTING](./CONTRIBUTING.md) file for details
## Licensing
Copyright (C) Diia and all other contributors.
Licensed under the **EUPL** (the "License"); you may not use this file except in compliance with the License. Re-use is permitted, although not encouraged, under the EUPL, with the exception of source files that contain a different license.
You may obtain a copy of the License at [https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12](https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12).
Questions regarding the Diia project, the License and any re-use should be directed to [
[email protected]](mailto:
[email protected]).
", Assign "at most 3 tags" to the expected json: {"id":"8572","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"