{"id":21702394,"url":"https://github.com/aphp/cohort360-back-end","last_synced_at":"2025-04-12T14:51:44.008Z","repository":{"id":259221639,"uuid":"301456768","full_name":"aphp/Cohort360-Back-end","owner":"aphp","description":"Backend of the Cohort360 web app @ https://github.com/aphp/Cohort360-FrontEnd and the Administration Portal @ https://github.com/aphp/Cohort360-AdministrationPortal","archived":false,"fork":false,"pushed_at":"2025-04-08T07:28:03.000Z","size":2853,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-08T08:31:44.228Z","etag":null,"topics":["administration","api","cohort","portal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aphp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-05T15:34:54.000Z","updated_at":"2025-04-08T07:28:05.000Z","dependencies_parsed_at":"2024-10-23T16:50:02.435Z","dependency_job_id":"d39d7b94-b7ef-451d-aa65-c28387ba5dc0","html_url":"https://github.com/aphp/Cohort360-Back-end","commit_stats":null,"previous_names":["aphp/cohort360-back-end"],"tags_count":219,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphp%2FCohort360-Back-end","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphp%2FCohort360-Back-end/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphp%2FCohort360-Back-end/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphp%2FCohort360-Back-end/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aphp","download_url":"https://codeload.github.com/aphp/Cohort360-Back-end/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586264,"owners_count":21128995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["administration","api","cohort","portal"],"created_at":"2024-11-25T21:15:12.048Z","updated_at":"2025-04-12T14:51:43.971Z","avatar_url":"https://github.com/aphp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Actions Status](https://github.com/aphp/Cohort360-Back-end/workflows/main/badge.svg)](https://github.com/aphp/Cohort360-Back-end/actions)\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=aphp_Cohort360-Back-end\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=aphp_Cohort360-Back-end)\n![image](https://img.shields.io/badge/Python-3.11-blue/?color=blue\u0026logo=python\u0026logoColor=9cf)\n![image](https://img.shields.io/badge/Django-5.0-%2344b78b/?color=%2344b78b\u0026logo=django\u0026logoColor=green)\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#project-setup\"\u003eProject Setup\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#get-the-code\"\u003eGet the code\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#configuration\"\u003eConfiguration\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#setup\"\u003eSetup\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#deployment-on-local-infrastructure\"\u003eDeployment on local infrastructure\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About the project\n\n**Cohort360-Back-end** serves as the backend of two main web applications: **Portail** \u0026 [**Cohort360**](https://github.com/aphp/Cohort360).  \n**Portail** provides capabilities to manage and control access to EDS data (Entrepôts de Données de Santé).\n\nThe main functionalities are:\n* Allow users to give access to other users over patient nominative or pseudonymized data. \n* Provide users with managing roles in order to allow other users to control accesses.\n* Allow **Cohort360** users to export their cohorts and download them in CSV format or transfer them to Jupyter \nworkspaces.\n* Allow admins to manage Jupyter workspaces\n\n### Built With\n\nHere is a list of major frameworks used here.\n* [Django](https://www.djangoproject.com)\n* [Django REST Framework](https://www.django-rest-framework.org/)\n* [PosgreSQL](https://www.postgresql.org/)\n* [Redis](https://redis.io/)\n* [Celery](https://docs.celeryproject.org/en/stable/)\n* [DRF-YASG (Swagger Generator)](https://drf-yasg.readthedocs.io/en/stable/)\n\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Project setup\n### 1. Get the code\n   ```sh\n   git clone https://github.com/aphp/Cohort360-Back-end.git\n   ```\n\n### 2. Configuration\n   * Create a **.env** file in the _admin_cohort_ directory following the **.setup/.env.example** format  \n   * Create a **perimeters.csv** file in the _.setup_ directory following the **.setup/perimeters.example.csv** format\n\n\n### 3. Setup\n   ```sh\n   cd Cohort360-Back-end/.setup\n   chmod +x setup.sh\n   bash setup.sh\n   ```\n* Server running at: `localhost:8000`\n* API details at: `localhost:8000/docs`\n\n\n## Deployment on local infrastructure\n\ncoming soon\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\n1. Clone the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request with _main_ branch\n\n\n\u003c!-- CONTACT --\u003e\n\n## Contact\n\nopen-source@cohort360.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphp%2Fcohort360-back-end","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faphp%2Fcohort360-back-end","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphp%2Fcohort360-back-end/lists"}