Metadata-Version: 1.2
Name: django-reactify
Version: 1.3.1
Summary: A package to reactify Django app.
Home-page: https://github.com/Bonifase/django-reactify
Author: Bonifase Orwa
Author-email: orwabonifase@gmail.com
License: UNKNOWN
Project-URL: Source, https://github.com/Bonifase/django-reactify
Description: ===============
        Django Reactify
        ===============
        
        Django Reactify is an app that allows developers to add and use React components in your Django app without using create-react-app.
        
        Detailed documentation is in the "docs" directory.
        
        Quick start
        -----------
        
        1. Install the package via the following command:
        
            pip install django-reactify
        
        2. Add "reactify" to your INSTALLED_APPS setting like this::
        
            INSTALLED_APPS = [
                ...
                'reactify',
            ]
        
        3. Run the following command:
        
            python manage.py reactify <app_name>
        
        
            > Replace the app name with the existing Django app you want to reactify.
        
            > This command does the following:
        
                * Creates barbel and webpack configuration files in the app's root directory.
        
                * Creates package.json file.
        
                * Creates a react folder directory with the necessary files and subdirectories where you can add your react component files and redux actions and reducers.
        
                * Creates a react folder directory with the necessary files and subdirectories where you can add your react component files and redux actions and reducers.
        
                * Installs the basic npm development packages.
        
                * starts the react development server that listens on the changes made to the react components and compile a minimal js file that is rendered to the view.
        
        4. Add the new view function to the views file to render the compiled version of the react app.
        
            def index(request):
                template_name = '<app_name>/index.html'
        
                return render(request, template_name)
        
        
Keywords: django reactjs
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 3.1
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
