Skip to content

Commit f326eed

Browse files
Added graphql and app for graphql api
1 parent a42164d commit f326eed

File tree

6 files changed

+262
-220
lines changed

6 files changed

+262
-220
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ redis = "*"
2828
django-countries = "*"
2929
pymemcache = "4.0.0"
3030
psutil = "*"
31+
graphene-django = "*"
3132

3233
[dev-packages]
3334
coverage = "*"

Pipfile.lock

Lines changed: 251 additions & 220 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nxtbn/graph_api/__init__.py

Whitespace-only changes.

nxtbn/graph_api/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class GraphApiConfig(AppConfig):
5+
default_auto_field = 'django.db.models.BigAutoField'
6+
name = 'nxtbn.graph_api'

nxtbn/graph_api/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

nxtbn/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def get_env_var(key, default=None, var_type=str):
113113
'nxtbn.post',
114114
'nxtbn.warehouse',
115115
'nxtbn.purchase',
116+
'nxtbn.graph_api',
116117
]
117118

118119
HELPING_HAND_APPS = [

0 commit comments

Comments
 (0)