{"id":19249428,"url":"https://github.com/dori-dev/drf-sample","last_synced_at":"2025-04-21T12:32:22.342Z","repository":{"id":48157803,"uuid":"516266845","full_name":"dori-dev/drf-sample","owner":"dori-dev","description":"The sample project for django rest framework","archived":false,"fork":false,"pushed_at":"2022-07-22T14:26:48.000Z","size":30,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-05T17:29:19.407Z","etag":null,"topics":["django","djangorestframework","drf","drf-yasg","sample","sample-app"],"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/dori-dev.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}},"created_at":"2022-07-21T07:19:45.000Z","updated_at":"2023-02-16T08:42:09.000Z","dependencies_parsed_at":"2022-09-02T08:24:28.321Z","dependency_job_id":null,"html_url":"https://github.com/dori-dev/drf-sample","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdrf-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdrf-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdrf-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdrf-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dori-dev","download_url":"https://codeload.github.com/dori-dev/drf-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223863869,"owners_count":17216234,"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":["django","djangorestframework","drf","drf-yasg","sample","sample-app"],"created_at":"2024-11-09T18:13:59.748Z","updated_at":"2024-11-09T18:14:00.281Z","avatar_url":"https://github.com/dori-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DRF Sample\n\nThe sample project for django rest framework.\n\n#\n\n# How to Run Project\n\n## Download Codes\n\n```\ngit clone https://github.com/dori-dev/drf-sample.git\n```\n\n```\ncd drf-sample\n```\n\n## Build Virtual Environment\n\n```\npython3 -m venv env\n```\n\n```\nsource env/bin/activate\n```\n\n## Install Project Requirements\n\n```\npip install -r requirements.txt\n```\n\n## Set Environ Variables\n\nrename `.env.example` to `.env` and change values.\u003cbr\u003e\n```\nmv .env.example .env\n```\ncreate account in [kavenegar.com](https://kavenegar.com/) and change `SMS_API_KEY` value to your **api key**.\u003cbr\u003e\ncreate verification template and change `OTP_TEMPLATE` value to your **template name**.\n\n## Migrate Models\n\n```\npython manage.py makemigrations planes otp\n```\n\n```\npython manage.py migrate\n```\n\n## Add Super User\n\n```\npython manage.py createsuperuser\n```\n\n## Run Codes\n\n```\npython manage.py runserver\n```\n\n## API Docs\n\nAPI Documentation: [127.0.0.1:8000](http://127.0.0.1:8000/)\u003cbr\u003e\nAdmin Page: [127.0.0.1:8000/admin](http://127.0.0.1:8000/admin/)\n\n#\n\n## Links\n\nDownload Source Code: [Click Here](https://github.com/dori-dev/drf-sample/archive/refs/heads/master.zip)\n\nMy Github Account: [Click Here](https://github.com/dori-dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdrf-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdori-dev%2Fdrf-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdrf-sample/lists"}