Skip to content
프로젝트

valentinogagliardi/django-drf-react-quickstart

GitHub에서 보기

소개

Django REST framework/React quickstart

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

django-drf-react-quickstart

Django REST framework / React quickstart

The following repo is no longer maintained and should be taken only as a loose guideline for structuring your Django/React project. Please check out django-rest-react-pycon for a more recent version.

Software License

Django REST framework React

Development

  • Install Python dependencies: pipenv install
  • Install Javascript dependencies: npm i
  • Make the bundle: npm run dev
  • Migrate: pipenv run python ./project/manage.py migrate
  • Populate the database: pipenv run python ./project/manage.py loaddata leads
  • Run locally: pipenv run python ./project/manage.py runserver
  • Head over http://127.0.0.1:8000/

Test

  • Unit: cd project && pipenv run python manage.py test
  • E2E: npm run e2e
  • Coverage: cd project && pipenv run coverage run manage.py test

Production

  • Make the bundle: npm run build
  • ... TODO

TODO

  • Authentication
  • React routing
  • Production

Meta

Valentino Gagliardi - valentinog.com - [email protected]

관련 프로젝트 살펴보기

불러오는 중…