Skip to content

dbritto-dev/django-graphql-domain-app-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Overview

This project is a template project to scaffold or create the initial structure of your domain app.

PROJECT STRUCTURE

File Name Description
└── tests/ This folder should contains the tests for your domain app.
crud.py This file should contains the methods to perform the CRUD operations.
filters.py This file should contains the filters that you want to apply to your model.
models.py This file should contains the models of your domain app.
README.md This file contains the documentation of this project.
schema.py This file should contains the Queries and Mutations for your domain app.
serializers.py This file should contains the serializers for your domain app.
types.py This file should contains the types that you want to expose in graphql for your domain app.

Scaffolding a domain app

django-admin startapp --template https://github.com/danilobrinu/django-graphql-domain-app-template/archive/master.zip post