# Kralis API DOCS

School Management System

## Kralis API Base URL

> Endpoint References in the Data Model Tenets, Rest API and GraphQL API Docs are relative to the base URL.

* API: [**api.kralis.app**](http://api.kralis.app)

## Kralis REST API

> The REST API is a collection of endpoints that can be used to interact with the Kralis API. The API is built using the Django Rest Framework. The documentation is available at `/schema/swagger` or `/schema/redoc`. Kralis Middleware uses the REST API to interact with the Kralis System for actions like `/auth/login/`.

## Kralis GraphQL API

> The GraphQL API is a collection of types, queries and mutations that can be used to interact with the Kralis API. The API is built using the Graphene-Django. The documentation is available via the Graphiql API Interface at `/graphiql`. Kralis Web is powered by schools' GraphQL APIs, we recommend working with the GraphQL API as it provides a comprehensive set of utility mutations for performing essential actions and flexible queries that let users fetch exactly the data they need.

## Kralis Web

> Kralis Web is a web application that provides a common interface for interacting with Kralis Middleware and all schools' Kralis Systems. The web app is built using Nextjs and communicates with the Kralis API using GraphQL.
