{"id":25638553,"url":"https://github.com/stenwire/django_drf_auth","last_synced_at":"2025-09-21T23:40:46.592Z","repository":{"id":193905055,"uuid":"689545162","full_name":"stenwire/django_drf_auth","owner":"stenwire","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-13T12:03:51.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T02:52:45.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/stenwire.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-09-10T06:31:57.000Z","updated_at":"2023-09-10T17:05:30.000Z","dependencies_parsed_at":"2025-02-23T02:31:53.832Z","dependency_job_id":"2335fb12-f5cb-4532-a522-268d5fe44679","html_url":"https://github.com/stenwire/django_drf_auth","commit_stats":null,"previous_names":["stenwire/django_drf_auth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stenwire/django_drf_auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenwire%2Fdjango_drf_auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenwire%2Fdjango_drf_auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenwire%2Fdjango_drf_auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenwire%2Fdjango_drf_auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stenwire","download_url":"https://codeload.github.com/stenwire/django_drf_auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stenwire%2Fdjango_drf_auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276323908,"owners_count":25622502,"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-09-21T02:00:07.055Z","response_time":72,"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":[],"created_at":"2025-02-23T02:31:48.330Z","updated_at":"2025-09-21T23:40:46.560Z","avatar_url":"https://github.com/stenwire.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 Token Authentication in DRF\n\n### ♨️API Docs:\n[Go-to swagger docs](http://localhost:8000/swagger/)\n\n```shell\n[][][][][]     [][][][]     [][][][]\n[]        []   []     []    []\n[]        []   []  [] []    [][][][]\n[]        []   []    []     []\n[][][][][]     []     []    []\n```\n### ⚒️ Tools:\n- DRF\n- Makefile\n- Python pipenv\n\n# ⚙️ Setup\n\n- clone repo\n```shell\ngit clone \u003clink to repo\u003e\n```\n- Go into the folder\n```shell\ncd :\\\\path\\\\to\\\\cloned_repo\n```\n- install pipenv\n```shell\npip install pipenv\n```\n- activate pipenv\n```shell\nmake shell\n```\n- install dependencies\n```shell\nmake install\n```\n- Create a copy of `.env.example` and rename to `.env` then fill in the values\n\n- Run Migrations with:\n`make makemigrations`\n`make migrate`\n\n# 🏃 To run app:\n```shell\nmake up\n\naccessible through: http://127.0.0.1:8000/\n```\n\n- Create admin user with:\n\u003e whilst in project directory\n\n`make py-shell`\n\nThen:\n```shell\n\u003e\u003e\u003e from authme.models import CustomUser\n\n\u003e\u003e\u003e CustomUser.objects.create_user(email=\"youremail@example.com\",username=\"johnDoe707\", password=\"strongpassword\")\n```\n\n- To run est:\n  `make test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstenwire%2Fdjango_drf_auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstenwire%2Fdjango_drf_auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstenwire%2Fdjango_drf_auth/lists"}