{"id":15886434,"url":"https://github.com/clayrisser/drf-imo","last_synced_at":"2025-07-27T04:08:17.530Z","repository":{"id":116526285,"uuid":"87213627","full_name":"clayrisser/drf-imo","owner":"clayrisser","description":"IMO the perfect drf (django rest framework) setup","archived":false,"fork":false,"pushed_at":"2023-07-07T11:44:43.000Z","size":1322,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-24T20:54:18.560Z","etag":null,"topics":["api","django","docker","framework","make","production","rest"],"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/clayrisser.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":"2017-04-04T17:04:00.000Z","updated_at":"2023-07-07T11:44:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f65b9fb-7405-4d61-86cd-56f737beb1eb","html_url":"https://github.com/clayrisser/drf-imo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/clayrisser/drf-imo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fdrf-imo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fdrf-imo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fdrf-imo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fdrf-imo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clayrisser","download_url":"https://codeload.github.com/clayrisser/drf-imo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayrisser%2Fdrf-imo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267298756,"owners_count":24065889,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":["api","django","docker","framework","make","production","rest"],"created_at":"2024-10-06T05:40:20.948Z","updated_at":"2025-07-27T04:08:17.515Z","avatar_url":"https://github.com/clayrisser.png","language":"Python","readme":"# drf-imo\n![](assets/drf-imo.png)\n\n## Setup\n```\ngit clone git@github.com:homies-io/realtytopia-backend.git \u0026\u0026 cd realtytopia-backend\nmake start\n```\n\n## Documentation\nYou can reference the [test view](http://localhost:8000/api/v1/test) to see how I am\nusing services and config.\n### Services\nIn order to keep the codebase DRY (don't repeat yourself), I encapsulate the logic\nin services.\n### Config\nConfig settings not related to the runtime of the framework go in the api/config.py file.\nThis would include things like API keys, but would not include settings like database\nconfiguration. Runtime configuration is reserved for realtytopia/settings.py file. Always\nmake sure config settings can be overridden with environment variables.\n\n## Packages\nTo install pip packages, run the following\n```\nenv/bin/pip install \u003cmy-pip-package\u003e\nmake freeze\n```\nBecause it is a localenv, you must run pip from `env/bin/pip`. Running `make freeze` updates\nthe requirements.txt.\n\n## Production\nYou can test the platform in production by building a docker container. Run the following\nto build the realtytopia/backend:latest docker container.\n```\nmake\n```\n\n## Makefile\nI've included several helpful make commands to ease the development and testing process.\n\n* `make`: Builds production docker image\n* `make start`: Runs development mode\n* `make freeze`: Updates requirements.txt (used to know what pip packages to get)\n* `make pull`: Pull's docker image from dockerhub (Not setup yet)\n* `make push`: Pushes docker image to dockerhub (Not setup yet)\n* `make clean`: Cleans the repository\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayrisser%2Fdrf-imo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclayrisser%2Fdrf-imo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayrisser%2Fdrf-imo/lists"}