{"id":13416242,"url":"https://github.com/wsvincent/drfx","last_synced_at":"2025-04-05T04:13:21.676Z","repository":{"id":45153746,"uuid":"127778567","full_name":"wsvincent/drfx","owner":"wsvincent","description":"A framework for launching new Django Rest Framework projects quickly.","archived":false,"fork":false,"pushed_at":"2024-02-06T12:03:29.000Z","size":35,"stargazers_count":474,"open_issues_count":5,"forks_count":83,"subscribers_count":23,"default_branch":"master","last_synced_at":"2024-05-02T05:16:33.763Z","etag":null,"topics":["django","djangorestframework"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wsvincent.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-02T15:57:43.000Z","updated_at":"2024-05-16T06:30:27.290Z","dependencies_parsed_at":"2024-05-16T06:30:26.164Z","dependency_job_id":"292c4db4-5755-45fd-ae8a-dead00f1eaf4","html_url":"https://github.com/wsvincent/drfx","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsvincent%2Fdrfx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsvincent%2Fdrfx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsvincent%2Fdrfx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wsvincent%2Fdrfx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wsvincent","download_url":"https://codeload.github.com/wsvincent/drfx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284951,"owners_count":20913704,"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"],"created_at":"2024-07-30T21:00:55.931Z","updated_at":"2025-04-05T04:13:21.653Z","avatar_url":"https://github.com/wsvincent.png","language":"Python","readme":"# DRFx\n\nA framework for launching new Django Rest Framework projects quickly. Comes with a custom user model, login/logout/signup, social authentication via django-allauth, and more.\n\n## Features\n\n- Django 3.1, Django REST Framework 3.12, and Python 3.8\n- Custom user model\n- Token-based auth\n- Signup/login/logout\n- [django-allauth](https://github.com/pennersr/django-allauth) for social auth\n- [Pipenv](https://github.com/pypa/pipenv) for virtualenvs\n\n## First-time setup\n\n1.  Make sure Python 3.7x and Pipenv are already installed. [See here for help](https://djangoforbeginners.com/initial-setup/).\n2.  Clone the repo and configure the virtual environment:\n\n```\n$ git clone https://github.com/wsvincent/drfx.git\n$ cd drfx\n$ pipenv install\n$ pipenv shell\n```\n\n3.  Set up the initial migration for our custom user models in users and build the database.\n\n```\n(drfx) $ python manage.py makemigrations users\n(drfx) $ python manage.py migrate\n(drfx) $ python manage.py createsuperuser\n(drfx) $ python manage.py runserver\n```\n\n4.  Endpoints\n\nLogin with your superuser account. Then navigate to all users. Logout. Sign up for a new account and repeat the login, users, logout flow.\n\n- login - http://127.0.0.1:8000/api/v1/rest-auth/login/\n- all users - http://127.0.0.1:8000/api/v1/users\n- logout - http://127.0.0.1:8000/api/v1/rest-auth/logout/\n- signup - http://127.0.0.1:8000/api/v1/rest-auth/registration/\n\n---\n\nWant to learn more about Django REST Framework? I've written an entire book that takes a project-based approach to building web APIs with Django. The first 2 chapters are available for free online at [https://djangoforapis.com/](https://djangoforapis.com/).\n\n[![Django for APIs](https://learndjango.com/static/images/books/dfa_cover_31.jpg)](https://djangoforapis.com)\n","funding_links":[],"categories":["Projects","Django REST Framework","Python"],"sub_categories":["Boilerplate","DRF Boilerplate"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsvincent%2Fdrfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwsvincent%2Fdrfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsvincent%2Fdrfx/lists"}