{"id":15322127,"url":"https://github.com/edmartt/workorders","last_synced_at":"2026-01-30T01:32:19.689Z","repository":{"id":204049903,"uuid":"710994380","full_name":"Edmartt/WorkOrders","owner":"Edmartt","description":"Microservice for handling work orders and when are done send event through Redis streams","archived":false,"fork":false,"pushed_at":"2024-10-26T00:17:40.000Z","size":79,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-28T11:39:27.579Z","etag":null,"topics":["docker","docker-compose","openapi","openapi3","postgres","postgresql","python","python3","redis","sql","sqlalchemy","swagger","swagger-ui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Edmartt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-27T23:07:59.000Z","updated_at":"2024-05-16T02:31:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"922ce677-f1e0-41cf-ae2e-8daaa9b58a3b","html_url":"https://github.com/Edmartt/WorkOrders","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":"0.037735849056603765","last_synced_commit":"fc3f41d845fe887794679cf5cba0d47bd2f62440"},"previous_names":["edmartt/workorders"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edmartt%2FWorkOrders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edmartt%2FWorkOrders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edmartt%2FWorkOrders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Edmartt%2FWorkOrders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Edmartt","download_url":"https://codeload.github.com/Edmartt/WorkOrders/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248980148,"owners_count":21193110,"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":["docker","docker-compose","openapi","openapi3","postgres","postgresql","python","python3","redis","sql","sqlalchemy","swagger","swagger-ui"],"created_at":"2024-10-01T09:14:17.611Z","updated_at":"2026-01-30T01:32:19.664Z","avatar_url":"https://github.com/Edmartt.png","language":"Python","readme":"# work orders\n\n## Requirements\n\n- Python 3.11\n- PostgreSQL\n- Docker\n- Redis\n\n\nWork order REST API\n\n\n## Running Development Version With Flask\n\n1. Clone the repo:\n\n```\ngit clone https://github.com/Edmartt/WorkOrders.git\n```\n\n2. Browse into the project directory\n\n```\ncd WorkOrders/\n```\n\n3. Create a virtual environment\n\n```\npython -m venv \u003cvirtual-environment-name\u003e\n```\n\n4. Activate the virtual environment\n\n```\nsource \u003cvirtual-environment-name\u003e/bin/activate\n```\n\n5. Install dependencies\n```\npip3 install -r requirements\n```\n\n6. Set the environment variables following the envrc.example file here ![.envrc.example](https://github.com/Edmartt/WorkOrders/blob/dev/.envrc.example)\n\n```\nsource .envrc\n```\n\n#### Note\n\nRemember to set a .env file for docker-compose ![env.example](https://github.com/Edmartt/WorkOrders/blob/dev/env.example) and run `docker-compose up -d` for creating a postgres instance\n\n\n7. Migrations\n\nWe need migrations for our data models\n\n```\nflask db upgrade\n```\n\n8. Run with\n\n```\nflask run\n```\n\n#### Note\n\nFor requesting the api docs after running the project just go to `/api/docs`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmartt%2Fworkorders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedmartt%2Fworkorders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedmartt%2Fworkorders/lists"}