https://github.com/the-akira/django-graphql-tutorial
Neste guia vamos desenvolver uma GraphQLAPI com o framework Django através do auxílio da biblioteca Graphene
https://github.com/the-akira/django-graphql-tutorial
api-server django django-application graphene graphene-django graphql-api python3 tutorial tutorial-code
Last synced: about 2 months ago
JSON representation
Neste guia vamos desenvolver uma GraphQLAPI com o framework Django através do auxílio da biblioteca Graphene
- Host: GitHub
- URL: https://github.com/the-akira/django-graphql-tutorial
- Owner: the-akira
- Created: 2020-03-19T00:21:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T20:53:08.000Z (about 2 years ago)
- Last Synced: 2025-01-18T18:46:41.955Z (3 months ago)
- Topics: api-server, django, django-application, graphene, graphene-django, graphql-api, python3, tutorial, tutorial-code
- Language: Python
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django GraphQLAPI Tutorial
Neste guia vamos desenvolver uma GraphQLAPI com o framework Django através do auxílio da biblioteca Graphene.
**[Leia o Tutorial](https://akiradev.netlify.app/posts/django-graphql-api/)**
---
## Instalação
### Clone o Repositório
```
git clone https://github.com/the-akira/Django-GraphQL-Tutorial.git
```### Dentro do Diretório Principal
Crie um Ambiente Virtual
```
python -m venv myvenv
```Ative o Ambiente Virtual
```
source myvenv/bin/activate
```Instale os Requeriments
```
pip install -r requirements.txt
```Sincronize o banco de dados
```
python manage.py migrate
```Execute a aplicação
```
python manage.py runserver
```Navegue até `http://127.0.0.1:8000/graphql/` para executar as Queries.