Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ong-bitcoin-argentina/didi-ssi-issuer-module-backend
Repo Issuer-Module. Diseñado por proyecto DIDI ONG DECODES, desarrollado por NEC.
https://github.com/ong-bitcoin-argentina/didi-ssi-issuer-module-backend
Last synced: 4 days ago
JSON representation
Repo Issuer-Module. Diseñado por proyecto DIDI ONG DECODES, desarrollado por NEC.
- Host: GitHub
- URL: https://github.com/ong-bitcoin-argentina/didi-ssi-issuer-module-backend
- Owner: ong-bitcoin-argentina
- License: other
- Created: 2020-03-30T01:48:07.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-06T00:25:21.000Z (over 1 year ago)
- Last Synced: 2023-07-14T16:29:51.686Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 7.1 MB
- Stars: 2
- Watchers: 7
- Forks: 3
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DIDI-SSI-Issuer-module
The issuer allows different entities authorized by didi-server to generate and emit certificates that can be accessed by their owners from didi. This module is made up of the issuer-front, a front-end developed in React, and the issuer-back, a backend developed in nodejs with a mongodb database. Where the information of certificate models and certificates to be issued is stored.
# Pre-requisites
- Install [Node.js](https://nodejs.org/en/) version 12.22.8
# Environment vars
This project uses the following environment variables:
| Name | Default Value | Mandatory |
| ----------------------------- | :-----------: | :-------: |
| NAME | | ✔ |
| VERSION | | ✔ |
| ENVIRONMENT | | ✔ |
| DEBUGG_MODE | false | ❌ |
| ENABLE_INSECURE_ENDPOINTS | false | ❌ |
| ISSUER_API_URL | | ✔ |
| ADDRESS | | ✔ |
| PORT | | ✔ |
| FULL_URL | | ✔ |
| RSA_PRIVATE_KEY | | ✔ |
| HASH_SALT | | ✔ |
| DIDI_API | | ✔ |
| BLOCK_CHAIN_DELEGATE_DURATION | 1300000 | ❌ |
| BLOCK_CHAIN_SET_ATTRIBUTE | 999999999 | ❌ |
| GAS_INCREMENT | 1.1 | ❌ |
| BLOCKCHAIN_URL_RSK | | ✔ |
| BLOCKCHAIN_URL_LAC | | ✔ |
| BLOCKCHAIN_URL_BFA | | ✔ |
| INFURA_KEY | | ✔ |
| MONGO_URI | | ✔ |
| ISSUER_SERVER_DID | | ✔ |
| ISSUER_SERVER_PRIVATE_KEY | | ✔ |
| DIDI_SERVER_DID | | ✔ |
| DISABLE_TELEMETRY_CLIENT | false | ❌ |
| APP_INSIGTHS_IKEY | | ✔ |# Getting started
- Install dependencies
```
npm install
```- Build and run the project
```
npm run start
```## Project Structure
```
📦src
┣ 📂__tests__
┣ 📂.github
┣ 📂constants
┣ 📂controlles
┣ 📂coverage
┣ 📂docker-compose
┣ 📂models
┣ 📂policies
┣ 📂public
┣ 📂routes
┣ 📂services
┗📜server.js
```## Project Endpoints
### [Swagger](https://api.issuer.alpha.didi.org.ar/api-docs/)
For more information, see the [documentation](https://docs.didi.org.ar/docs/developers/solucion/descripcion-tecnica/arquitectura-issuer)