프로젝트
GitHub에서 보기
wsvincent/drfx
소개
새 Django REST Framework 프로젝트를 빠르게 시작할 수 있는 프레임워크입니다.
웹 및 앱 개발What you can do
- Django 6.1, Django REST Framework 3.18, and Python 3.12+
- Custom user model
- Token-based auth via dj-rest-auth
- Signup/login/logout
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDRFx
A framework for launching new Django Rest Framework projects quickly. Comes with a custom user model, login/logout/signup, social authentication via django-allauth and dj-rest-auth, and more.
Features
- Django 6.1, Django REST Framework 3.18, and Python 3.12+
- Custom user model
- Token-based auth via dj-rest-auth
- Signup/login/logout
- django-allauth for social auth
- uv for dependency management (plain pip works too)
First-time setup
- Make sure Python 3.12+ is installed. See here for help.
- Clone the repo and install dependencies, using either uv (recommended) or pip.
With uv:
$ git clone https://github.com/wsvincent/drfx.git
$ cd drfx
$ uv sync
$ source .venv/bin/activate
Or with pip:
$ git clone https://github.com/wsvincent/drfx.git
$ cd drfx
$ python3 -m venv .venv
$ source .venv/bin/activate
(drfx) $ python -m pip install -r requirements.txt
On Windows, activate with .venv\Scripts\activate instead.
- Set up the initial migration for our custom user models in users and build the database.
(drfx) $ python manage.py makemigrations users
(drfx) $ python manage.py migrate
(drfx) $ python manage.py createsuperuser
(drfx) $ python manage.py runserver
- Endpoints
Login with your superuser account. Then navigate to all users. Logout. Sign up for a new account and repeat the login, users, logout flow.
관련 프로젝트 살펴보기
불러오는 중…