I am trying to explore ariadne in my django project. However, I am feeling extremely tough to create a folder structure as I don't see much example mainly focused on that. Also I did not find any single tutorial. Everywhere the same way is done that is having every code in schema.py
.
Here is an example
from ariadne import QueryType, make_executable_schema
type_defs = """
type Query {
hello: String!
}
"""
query = QueryType()
@query.field("hello")
def resolve_hello(*_):
return "Hello world!"
schema = make_executable_schema(type_defs, query)
How would you design your folders in a large django application where there are say more than 10, 15 apps like accounts, products, reviews etc? If we use plain django then it already gives following structure
app_name
views.py
urls.py
models.py
but if we want to use ariadne in django and consider each app's crud features how would you now design your project?