a react application already configured to be used in a django project as a django application
Project description
===== Django React App
a react application already configured to be used in a django project as a django application.
Quick start
-
Add "django_react_app" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'django_react_app', ]
-
Include the django_react_app URLconf in your project urls.py like this::
path('', include('django_react_app.urls')),
-
Move to the django_react_app directory and run
npm install
to install dependences. -
And Run
npm run dev
to run the react app . -
Start your django development server in another terminal and visit http://127.0.0.1:8000/ to view your react app application running
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_react_app-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 674f5d522765f48f1ce9c811b1d6850cbf73cc78bb9e2c43b0368e5a93801614 |
|
MD5 | f2e15a6f0ffda967462e0c542c24eb83 |
|
BLAKE2b-256 | 60a35cb47e3262f74a577ca3f82c006390b64da43e19abff1d6686c65e7b1d65 |