Canduma

screenshot of Canduma

A Rust server with GraphQL API, Diesel, PostgreSQL, session authentication and JWT

Overview

Canduma is a Rust authentication server with a GraphQL API, Diesel, PostgreSQL session authentication, and JWT. It provides a complete example of a GraphQL server with JWT authentication. The repository includes various major crates used in Canduma, including actix-web, Juniper, Diesel, and jsonwebtoken. This authentication server is built for use in a micro-services architecture and uses session cookies for authentication.

Features

  • GraphQL API with JWT authentication
  • Diesel and PostgreSQL session authentication
  • Actix-web framework for building web applications in Rust
  • Juniper for implementing GraphQL servers in Rust
  • JSON Web Tokens for secure transfer of claims between parties
  • Automatic generation of RSA keys for JWT
  • Logging controlled by middleware::Logger actix.rs

Summary

Canduma is a Rust authentication server that provides a GraphQL API with JWT authentication. It uses Diesel and PostgreSQL for session authentication and provides examples of using actix-web and Juniper. The server supports session cookies for authentication and also includes JWT functionality with automatic RSA key generation. Logging is controlled by middleware::Logger actix.rs. Canduma is designed for use in a micro-services architecture and provides a complete example with comprehensive documentation.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.