{"id":16119009,"url":"https://github.com/germainlefebvre4/cloudia-api","last_synced_at":"2026-01-20T18:56:25.368Z","repository":{"id":214630335,"uuid":"733866260","full_name":"germainlefebvre4/cloudia-api","owner":"germainlefebvre4","description":"Backend of the Cloudia project.","archived":false,"fork":false,"pushed_at":"2024-03-27T15:21:37.000Z","size":212,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T19:27:26.250Z","etag":null,"topics":["aws","azure","billling","carbon","carbon-footprint","ccf","cloud","gcp","projects"],"latest_commit_sha":null,"homepage":"https://cloudia.readthedocs.io/","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/germainlefebvre4.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2023-12-20T10:03:45.000Z","updated_at":"2024-03-07T15:58:42.000Z","dependencies_parsed_at":"2024-03-17T15:26:11.381Z","dependency_job_id":"6ae8ebee-f761-4fec-aa01-989260665890","html_url":"https://github.com/germainlefebvre4/cloudia-api","commit_stats":null,"previous_names":["germainlefebvre4/cloudia-api"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/germainlefebvre4%2Fcloudia-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/germainlefebvre4%2Fcloudia-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/germainlefebvre4%2Fcloudia-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/germainlefebvre4%2Fcloudia-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/germainlefebvre4","download_url":"https://codeload.github.com/germainlefebvre4/cloudia-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694878,"owners_count":20980733,"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":["aws","azure","billling","carbon","carbon-footprint","ccf","cloud","gcp","projects"],"created_at":"2024-10-09T20:52:04.435Z","updated_at":"2026-01-20T18:56:25.336Z","avatar_url":"https://github.com/germainlefebvre4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudia - API\n\nThis repository contains the API application for the Cloudia project.\n\n---\n\nProject overview: [https://github.com/germainlefebvre4/cloudia-project](https://github.com/germainlefebvre4/cloudia-project)\n\nDocumentation: [https://cloudia.readthedocs.io/](https://cloudia.readthedocs.io/)\n\n---\n\n## Getting started\n\nInstall required packages:\n\n```bash\nsudo apt update\nsudo apt install python3-pip python3-dev\npip install poetry\n```\n\nSetup the databases:\n\n```bash\ndocker compose up -d db redis\ndocker compose restart redis\ndocker compose exec -ti redis redis-cli config set stop-writes-on-bgsave-error no\n```\n\nRun the app:\n\n```bash\npoetry install\npoetry run alembic upgrade head\npoetry run python app/initial_data.py\npoetry run uvicorn app.main:app --port=8080 --reload\n```\n\n### Troubleshooting\n\nSome distributions might miss some packages. These are some hints if needed:\n\n```bash\n# cryptography/cffi\nsudo apt install build-essential libssl-dev libffi-dev libpq-dev\n```\n\n## Development\n\n### Setup workspace\n\n```bash\nsudo apt update\nsudo apt install python3-pip python3-dev\npip install poetry\npoetry install\n```\n\n### Run locally\n\nThis section use docker database called `cloudia`.\n\n```bash\ndocker compose up -d db redis\ndocker compose restart redis\npoetry run alembic upgrade head\npoetry run python app/initial_data.py\npoetry run uvicorn app.main:app --port=8080 --reload\n```\n\n### Run tests\n\nThis section use docker database called `cloudia_test`.\n\n```bash\ndocker compose up -d db_test redis_test\ndocker compose restart redis_test\npoetry run pytest -sv app/tests/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgermainlefebvre4%2Fcloudia-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgermainlefebvre4%2Fcloudia-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgermainlefebvre4%2Fcloudia-api/lists"}