Metadata-Version: 2.1
Name: django-graphql-app-setup
Version: 0.1.8
Summary: A Django management command to create apps with custom folder structures for graphql APIs.
Home-page: https://github.com/paisoncodes/django-graphql-app-setup
Author: Olatunji Komolafe
Author-email: iamokomolafe.o.s@gmail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
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: Framework :: Django
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 3.1
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django >=3.0
Requires-Dist: graphene >=3.0

# Django GraphQL App Setup

A Django management command to create apps with custom folder structures for graphql APIs.

## Installation

Install the package using pip:

```bash
pip install django-app-setup
```

Add the following to your `settings.py` file

```bash
INSTALLED_APPS = [
    ...
    "django_graphql_app_setup",
    ...
]
```

## Usage

In your project directory, run the following command:

```bash
python manage.py startgqlapp <app_name>
```

or

```bash
cd /path/to/custom/directory

python ../../../../manage.py startgqlapp <app_name> --custom-directory /path/to/custom/directory
```

if you want the app in a custom directory. For example:

```bash
cd apps/custom

python ../../manage.py startgqlapp example --custom-directory apps/custom
