{"id":20054592,"url":"https://github.com/crane-cloud/system-status-backend","last_synced_at":"2025-07-10T07:04:18.494Z","repository":{"id":48137930,"uuid":"516554896","full_name":"crane-cloud/system-status-backend","owner":"crane-cloud","description":"Application that monitors Crane Cloud services","archived":false,"fork":false,"pushed_at":"2023-10-18T23:57:36.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2023-10-19T00:31:45.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://status-api.cranecloud.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crane-cloud.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":"2022-07-22T00:00:20.000Z","updated_at":"2023-02-03T04:30:31.000Z","dependencies_parsed_at":"2023-10-05T15:20:04.903Z","dependency_job_id":"49d0fa32-ef5f-49c2-9459-b8690c3b3bf1","html_url":"https://github.com/crane-cloud/system-status-backend","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"purl":"pkg:github/crane-cloud/system-status-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Fsystem-status-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Fsystem-status-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Fsystem-status-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Fsystem-status-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crane-cloud","download_url":"https://codeload.github.com/crane-cloud/system-status-backend/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Fsystem-status-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264545017,"owners_count":23625387,"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":[],"created_at":"2024-11-13T12:41:38.954Z","updated_at":"2025-07-10T07:04:18.471Z","avatar_url":"https://github.com/crane-cloud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crane cloud system status application\n\nThis application is aimed to monitor cranecloud applications and services.\n\n## Project Setup\n\nFollow these steps to have a local running copy of the app.\n\n### Clone The Repo\n\n`git clone https://github.com/Mubangizi/flask-rest-api-template.git`\n\nIf `master` is not up to date, `git checkout develop`. However, note that code on develop could be having some minor issues to sort.\n\n### Install PostgreSQL\n\nHere's a great resource to check out:\n\n[How To Install and Use PostgreSQL](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-18-04)\n\nCreate a development database and call it `mobile_shop_db`.\n\n### Create a Virtual Environment\n\ncreate virtual enviroment called venv\n\nRun `virtualenv venv`\n\n### Activate the virtual environment\n\nRun `. venv/bin/activate`\n\nMake sure you have `pip` installed on your machine.\n\n### Install the dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### Create a .env file\n\nCreate a `.env` file (which defines the environment variables used) at the root of the app.\n\nAdd the following details, customizing as needed.\n\n```bash\nexport FLASK_APP=server.py\nexport DATABASE_URI=postgresql:///flask_app_db\nexport FLASK_APP_SECRET=qY2i691SX2sEuZ7LUjY480RS48mw5qCeUiyV0i0vzmg\nexport FLASK_ENV=development\nexport FLASK_RUN_PORT=5000\nexport CLIENT_BASE_URL=\nexport BACKEND_BASE_URL=\nexport MIRA_BACKEND_URL=\nexport MIRA_FRONTEND_URL=\nexport REGISTRY_URL=\n```\n\n### Run Database migrations\n\nRun migrations for the database. This will create the tables for the models in the database .\n\n`python manage.py db upgrade`\n\n#### Note\n\nIf you make changes to the models, you need to create migrations for the changes by running `python manage.py db migrate` and then `python manage.py db upgrade` to add the changes to the database.\n\n### Run Application\n\nRun the application with this command\n\n```bash\nflask run\n```\n\n### Test the API\n\nThrough your browser go to link `localhost:\u003cflask_port\u003e/`.\n\n### Checkout Application Api docs\n\nThrough your browser go to link `localhost:\u003cflask_port\u003e/apidocs`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrane-cloud%2Fsystem-status-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrane-cloud%2Fsystem-status-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrane-cloud%2Fsystem-status-backend/lists"}