Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

A template to use ktor with GraphQL and MongoDB using mangaka, kaguya and openperm-kt

License

Notifications You must be signed in to change notification settings

cufyorg/ktor-graphql-template

Repository files navigation

Ktor GraphQL Template

A template to use ktor with GraphQL and MongoDB using mangaka, kaguya and openperm-kt

Setup

To configure the library to the desired shape. It is better to configure it in these steps.

Configure Environment

Change the available environment variables at the Environment file.

Configure Plugins

Configure the plugins at the plugins package.

You might skip routing configuration until you configure your routes later on the process.

You might skip session configuration until you configure your session models, user models, role classes and privilege factories.

Configure Models

Configure Runtime/GraphQL/MongoDB models at model package

You might flag permission checks until you configure your permissions.

Configure Enumerations

Configured project enums and data classes at enumeration package

In this step you configure available roles, permissions, permits and privilege factories and other project-wide constants.

Configure Routing

Finally, you might define your REST routes and your GraphQL query, mutation and subscription fields.

Technologies Used

Server

MongoDB

GraphQL

Crypto

Etc

About

A template to use ktor with GraphQL and MongoDB using mangaka, kaguya and openperm-kt

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages