Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 966 Bytes

README.md

File metadata and controls

44 lines (33 loc) · 966 Bytes

DJANGO GRAPHQL API

made-with-python Docker License: MIT

Deploy server

Clone Repo:

git clone https://github.com/P4R/django-graphql-api

Move to project folder:

cd django-graphql-api

Start server:

 docker-compose up -d

Stop server:

 docker-compose stop

Run tests

Note:

  • Tests with slqlite for run it in app container
  • Execute command in root project folder
docker-compose run --rm app python manage.py test api.tests --settings=app.settings_test

Django admin panel

http://127.0.0.1:8000/admin

API

http://127.0.0.1:8000/api/graphql