Metadata-Version: 2.1
Name: django-react-app
Version: 0.0.2
Summary: a react application already configured to be used in a django project as a django application
Home-page: https://github.com/Mahmoud-Barry/django-react-app
Author: Mahmoud Barry
Author-email: Mahmoud BARRY <mahmoud.barry@bakeli.tech>
License: BSD-3-Clause
Project-URL: Homepage, https://github.com/Mahmoud-Barry/django-react-app
Project-URL: Bug Tracker, https://github.com/Mahmoud-Barry/django-react-app/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

django-react-app
----------------------
django-react-app is a react application already configured to be used in a django project as a django application. 


Quick start
-----------

### Install 

```
pip install django-react-app

```



Add "django_react_app" to your INSTALLED_APPS setting like this::

```
    INSTALLED_APPS = [
        ...
        'django_react_app',
    ]

```

---

# Configuration

### To have django-react-app on your root project 

```
You will find the django_react_app inside your <virtualenv_name>/lib/<python_ver>/site-packages/ folder move the django_react_app folder to your root project 
```

### Install React dependencies

```
Open a terminal and go to the django_react_app folder and type "cd django_react_app" and run : 
```

```
npm install

```
This command will install React dependencies, after that run :

```

```
npm run dev

```
To run the React app.

```

#### Run your django app
```
Start your django development server in another terminal and visit http://127.0.0.1:8000/ to view your react app application running 
```


