Skip to content
Proyek

valentinogagliardi/django-drf-react-quickstart

Lihat di GitHub

Tentang

Django REST framework/React quickstart

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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]

Jelajahi proyek terkait

Memuat…