1 research outputs found

    GraphQL API generating service for Django

    Get PDF
    Tato bakalářská práce se zabývá vývojem modulu pro generování GraphQL API ve webovém frameworku Django. Hlavní část práce řeší rozvoj modulu Simple API, který se zaměřuje na rychlou tvorbu API vycházející z existujících definicí v Django. Práce obsahuje analýzu existujících modulů na integraci API do frameworku Django, nejen ty založené na GraphQL, ale také na architektuře REST. Práce také obsahuje analýzu aktuálního stavu vývoje Simple API a na základě této analýzy je vytvořen návrh na doplnění chybějících funkcí, následovaný jejich implementací. Rozšíření se zabývá nejen prvky důležitými pro funkčnost modulu, ale také integrováním zabezpečení GraphQL serveru proti Denial of Service (DoS) a batching útokům prostřednictvím komplexních dotazů. Práce obsahuje popis vývoje dynamické webové aplikace pro testování výstupního API. Výsledkem práce je rozšíření Simple API a webové prostředí Simple API Admin pro prozkoumání a testování vygenerovaného koncového bodu.This bachelor’s thesis describes the development of a module for generating GraphQL API for the Django web framework. The main part of this thesis is concerned with furthering the development of Simple API module, which aims to facilitate fast creation of API endpoints from existing Django definitions. The thesis contains an analysis of existing modules for API creation in Django, not just GraphQL, but also of those generating REST-style API. From the analysis of the current state of Simple API development, new additions to Simple API are designed, then implemented. Other than functional additions, the development also concerns the design and implementation of security features necessary for prevention of Denial of Service (DoS) and batching attacks through complex queries. Furthermore, a web application for testing of the API is also developed in the thesis. The result of this thesis is the expansion of the module Simple API and web application Simple API admin for exploration and testing of the generated endpoint
    corecore