{"id":21593169,"url":"https://github.com/owencooke/outageml","last_synced_at":"2026-04-11T04:33:59.426Z","repository":{"id":158819940,"uuid":"634264032","full_name":"owencooke/OutageML","owner":"owencooke","description":"A power outage management web app that prioritizes emergency responses using AI. 🥈 @ APIC Energy Hackathon 2023","archived":false,"fork":false,"pushed_at":"2023-08-17T05:06:03.000Z","size":421,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T00:06:37.879Z","etag":null,"topics":["django","outages","postgres","pytorch","react"],"latest_commit_sha":null,"homepage":"","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/owencooke.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}},"created_at":"2023-04-29T15:13:47.000Z","updated_at":"2024-11-10T21:50:47.000Z","dependencies_parsed_at":"2023-08-17T06:24:25.616Z","dependency_job_id":"a1e13a57-dbb2-470e-ac0d-aacff42dff64","html_url":"https://github.com/owencooke/OutageML","commit_stats":null,"previous_names":["owencooke/outageml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owencooke/OutageML","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owencooke%2FOutageML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owencooke%2FOutageML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owencooke%2FOutageML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owencooke%2FOutageML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owencooke","download_url":"https://codeload.github.com/owencooke/OutageML/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owencooke%2FOutageML/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["django","outages","postgres","pytorch","react"],"created_at":"2024-11-24T17:11:34.068Z","updated_at":"2026-04-11T04:33:59.399Z","avatar_url":"https://github.com/owencooke.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OutageML\n\nhttps://user-images.githubusercontent.com/83478026/235809636-30e9a382-2c49-4c62-95e2-e0b854d06f58.mov\n\n## Won 2nd Place at the 2023 APIC Energy Hackathon 🎉\n\n![APIC 2023 Certificate](https://github.com/owencooke/OutageML/assets/90405643/b8b590c8-af9d-4e12-9477-05bb225ed6f8)\n\n\n\n### Frontend\n\n- React (frontend framework)\n  - Create React App (support for TSX, ES6, TypeScript, no need to install bundler, ...etc)\n- Leaflet.js\n- Tailwind CSS\n\n### Backend\n\n- Python3 (backend language)\n  - Poetry (Python dependency management system)\n  - Black (formatter)\n  - Psycopg2 (PostgreSQL adapter for Python)\n  - Python-decouple (to get env file content)\n- Django (backend framework)\n  - Django REST Framework (Django's toolkit for building Web APIs)\n- PostgreSQL (database)\n- PyTorch\n\n## Getting Started\nClone this repository to your local machine:\n\n```bash\ngit clone git@github.com:owencooke/OutageML.git\n```\n\n### To run the client\n\nIn the project folder,\n\n```bash\ncd client\nnpm i \u0026\u0026 npm run dev\n```\n\n### To run the server\n\n#### Django and PostgreSQL\n\nNeed to be on UNIX environment\n\nYou first need to have [PostgreSQL](https://www.postgresql.org/download/) installed and running, and create a user and a database. Afterwards, create `./server/.env` file to store your database information along with some Django settings. It should have values for all the following keys:\n\n##### `./server/.env` file\n\n```python\nSECRET_KEY = \u003cYOUR_DJANGO_SECRET_KEY\u003e\nDEBUG = True  # set to False in production\nDB_NAME = \u003cYOUR_DB_NAME\u003e\nDB_USER = \u003cYOUR_USER_NAME\u003e\nDB_PASSWORD = \u003cYOUR_USER_PASSWORD\u003e\nDB_HOST = localhost  # set to your domain name in production\nDB_PORT = 5432  # default postgreSQL port\n```\n\n#### Poetry\n\nIn addition to the database, you need to setup the Python environment. We use [poetry](https://python-poetry.org/docs/#installation) for dependency management, so poetry needs to be installed first. Once installed, in the project folder,\n\n```bash\n$ poetry shell  # this should create a virtualenv for you at .venv and start using it\n$ poetry install\n$ cd server\n$ python manage.py migrate  # make sure your selected Python interpreter is the one in .venv\n$ python manage.py runserver\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowencooke%2Foutageml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowencooke%2Foutageml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowencooke%2Foutageml/lists"}