-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from aarontravass/aaron/readme
Update README.md
- Loading branch information
Showing
31 changed files
with
109 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,60 @@ | ||
# Submission for MediHacks 2024 | ||
<div align="center"> | ||
<img src="https://github.com/user-attachments/assets/64d1df45-553a-4e51-a8e9-6ca8d6e2f0a5" > | ||
</div> | ||
|
||
<div align="center"> | ||
|
||
[![CI](https://github.com/aarontravass/Athena/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aarontravass/Athena/actions/workflows/ci.yml) | ||
|
||
</div> | ||
|
||
<hr> | ||
<br> | ||
|
||
Data transparency and ownership are global challenges, with most patient health records controlled by providers. This centralization limits patient access and hinders data sharing across systems. | ||
|
||
A distributed, reliable, and transparent storage system is needed to enhance data accessibility, security, and empower patients with greater control over their health records. | ||
|
||
Athena is the modern EMR and EHR open source storage solution based on IPFS. Built on top of Filebase, it addresses problems with data ownership and transparency in the health sector. By leveraging blockchains, we can create a decentralized network that ensures data integrity and transparency, reducing the risk of data breaches and unauthorized access. | ||
|
||
### Table of Contents | ||
|
||
- [Features](#core-features) | ||
- [Install](#install) | ||
- [License](#license) | ||
|
||
## Features | ||
|
||
- **Distributed and scalable:** Built using GraphQL, Fastify and PostgreSQL, containerized via Docker and deployed on Vercel and Render. | ||
- **Encryption in Transit:** All files are encrypted using AES-256. | ||
- **Controlled sharing:** Share documents using signed links | ||
|
||
## Install | ||
|
||
Clone the repository | ||
|
||
```sh | ||
git clone https://github.com/aarontravass/Athena.git | ||
``` | ||
|
||
Install dependencies | ||
|
||
```sh | ||
pnpm i | ||
``` | ||
|
||
Generate prisma dist | ||
|
||
```sh | ||
lerna run --scope @athena/prisma generate | ||
``` | ||
|
||
Run web, server and upload package | ||
|
||
```sh | ||
lerna run dev | ||
``` | ||
|
||
## License | ||
|
||
Licensed under [MIT](./LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,8 @@ | |
}, | ||
"scripts": { | ||
"lint": "eslint .", | ||
"format": "prettier --check \"./**/*.{ts,js,tsx}\"", | ||
"format:fix": "prettier --write \"./**/*.{ts,js,tsx}\"", | ||
"format": "prettier --check \"./**/*.{ts,js,tsx,md}\"", | ||
"format:fix": "prettier --write \"./**/*.{ts,js,tsx,md}\"", | ||
"prepare": "husky" | ||
}, | ||
"packageManager": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@medihacks/platform", | ||
"name": "@athena/platform", | ||
"version": "0.0.0", | ||
"description": "> TODO: description", | ||
"author": "aarontravass <[email protected]>", | ||
|
@@ -25,7 +25,7 @@ | |
}, | ||
"dependencies": { | ||
"@aws-sdk/client-s3": "3.47.0", | ||
"@medihacks/prisma": "workspace:^", | ||
"@athena/prisma": "workspace:^", | ||
"@pothos/core": "^3.41.2", | ||
"@pothos/plugin-prisma": "^3.65.3", | ||
"@pothos/plugin-scope-auth": "^3.22.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { PrismaClient } from '@medihacks/prisma' | ||
import { PrismaClient } from '@athena/prisma' | ||
|
||
export const prisma = new PrismaClient({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/FileShareToken/mutations/revokeShareToken.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/FileShareToken/queries/listShareTokens.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/PatientFile/mutations/removeFile.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/PatientFile/queries/fetchPatientFileBlob.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/PatientFile/queries/fetchPatientFiles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/PatientStorage/queries/fetchPatientStorage.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/PreSignedUrl/mutations/generatePreSignedUploadUrl.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/platform/src/resolvers/User/queries/fetchAllPatients.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@medihacks/prisma", | ||
"name": "@athena/prisma", | ||
"version": "0.0.0", | ||
"description": "> TODO: description", | ||
"author": "aarontravass <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@medihacks/upload", | ||
"name": "@athena/upload", | ||
"version": "0.0.0", | ||
"description": "> TODO: description", | ||
"author": "aarontravass <[email protected]>", | ||
|
@@ -26,7 +26,7 @@ | |
"@aws-sdk/client-s3": "3.47.0", | ||
"@fastify/cors": "^9.0.1", | ||
"@fastify/multipart": "^8.3.0", | ||
"@medihacks/prisma": "workspace:^", | ||
"@athena/prisma": "workspace:^", | ||
"fastify": "^4.28.1" | ||
}, | ||
"devDependencies": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { PrismaClient } from '@medihacks/prisma' | ||
import { PrismaClient } from '@athena/prisma' | ||
|
||
export const prisma = new PrismaClient({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@medihacks/web", | ||
"name": "@athena/web", | ||
"version": "0.1.0", | ||
"author": "ashup99 <[email protected]>", | ||
"license": "MIT", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.