Metadata-Version: 2.1
Name: drf-react-by-schema
Version: 0.5
Summary: A Django app to easily integrate with react from models.
Home-page: https://gitlab.com/eita/drf-react-by-schema
Author: Cooperativa EITA
Author-email: coletivo@eita.org.br
License: GNU General Public License version 3
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD 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 :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
License-File: LICENSE

===================
DRF React By Schema
===================

This package, with the corresponding npm package with the same name, enables a django headless infrastructure for running with react very easily, directly from your models.

Quick start:
------------

1. Add "drf-react-by-schema" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        'drf-react-by-schema',
    ]
    
2. Include the URL configuration in your project urls.py like this::

    urlpatterns = [
        ...
        path('', include('drf_react_by_schema.urls')),
    ]

3. Start the development server and visit http://127.0.0.1:8000/api/endpoints and you will see all endpoints available.

You can customize viewsets and serializers to annotate other attributes.

This package offers special fields for added control over metadata directly from model.

More documentation will come one day.

