Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charafzellou/anticovid19blockchain
A Blockchain to fight the CoVid-19 spread worldwide !
https://github.com/charafzellou/anticovid19blockchain
blockchain covid-19 ethereum smart-contracts solidity
Last synced: 25 days ago
JSON representation
A Blockchain to fight the CoVid-19 spread worldwide !
- Host: GitHub
- URL: https://github.com/charafzellou/anticovid19blockchain
- Owner: charafzellou
- License: agpl-3.0
- Created: 2020-03-30T06:34:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T13:30:05.000Z (over 2 years ago)
- Last Synced: 2024-06-21T18:15:05.569Z (7 months ago)
- Topics: blockchain, covid-19, ethereum, smart-contracts, solidity
- Language: JavaScript
- Homepage:
- Size: 6.12 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AntiCovid19Blockchain
A Blockchain to fight the CoVid-19 spread worldwide !## Basic Database Modelization
```
Frontend:
- Gestion d'entrée de donnéesSolidity:
- Patient :
ID PATIENT
ID TRAITEMENT
Date de Naissance
Sexe
Code Postal
Pays
Médecin Traitant
Antécédents
Date de Dépistage
Date de Rémission
Date de Décès
- Traitement :
ID TRAITEMENT
Composant actif
Description
Etapes du traitementGO :
- Liaison entre Front et Solidity
- Liaison entre Front et MongoDBMongoDB:
- Patient :
ID PATIENT
* Nom
* Prénom
* Numéro SS
* Numéro Téléphonique
* Adresse
- Admission :
ID PATIENT
ID TRAITEMENT
Date de Naissance
Sexe
Code Postal
Pays
Médecin Traitant
Antécédents
Date de Dépistage
Date de Rémission
Date de Décès
- Traitement :
ID TRAITEMENT
Composant actif
Description
Etapes du traitement
```## Launching the app
To launch the app, use the following commands:
```bash
git clone https://github.com/charafzellou/AntiCovid19Blockchain
cd AntiCovid19Blockchain
docker-compose up -d
```
## Ports used by app
Ports used by Docker-Compose:
```
Mongo --> 27017:27017
Mongo-Express GUI --> 8081:8081
API React for Website --> 3000:3000
React Client for Website --> 8686:8686
Ganache-Cli for Ethereum Smart Contracts --> 8545:8545
```## Fixing issues related to NPM
For reasons unknown to my modest brain and knowledge, sometimes NPM refuses to cooperate properly with Docker to initialize the Node Modules.In order to bypass this issue, you need to initialize them before stting up the Docker environment, run this after cloning the Git:
```bash
docker rm $(docker ps -aq) && docker-compose down
cd api
npm install
cd ../client/src/
npm install
cd ../../server/
npm install
```## Scrap the whole environment
If you face an undocumented issue and want to scrap everything to restart, it is recommended to get to the top folder `./AntiCovid19Blockchain/` and run this:
```bash
docker rm -f $(docker ps -aq) && docker-compose down
```