Skip to content

Abstractolotl/azplace-rest-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AzPlace REST-Backend

This repository is a part of AzPlace, which consists of three different parts. This repository contains the Spring REST-Service.

To use AzPlace you also need these services:

Requirements

Before running this service you need the following other services:

  • Redis-Server
  • MariaDB-/MySQL-Server
  • Elasticsearch Instance

Database

erDiagram
    Board }o..|| ColorPalette : needs
    
    UserCooldown }o..|| Board : on
    
    User ||..o{ UserCooldown : has
    User ||..o{ UserBan : has
    
    PixelOwner }o..|| Board : on
    PixelOwner }o..|| User : is

Login Flow

sequenceDiagram
    User->>+REST: Request login (/auth/login)
    REST->>-User: Redirect to CAS
    User->>+CAS: Login
    CAS->>-User: Redirect to REST
    User->>+REST: Request verification
    REST->>+CAS: Validate Ticket
    CAS->>-REST: Respond User Data
    REST->>-User: Redirect to Frontend