https://github.com/abstractolotl/azplace-rest-backend
https://github.com/abstractolotl/azplace-rest-backend
hacktoberfest java rest-api spring-boot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abstractolotl/azplace-rest-backend
- Owner: Abstractolotl
- License: mit
- Created: 2022-07-26T07:49:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T09:32:34.000Z (about 3 years ago)
- Last Synced: 2025-06-16T06:47:51.202Z (about 1 year ago)
- Topics: hacktoberfest, java, rest-api, spring-boot
- Language: Java
- Homepage:
- Size: 372 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
- [WebSocket-Server](https://github.com/Abstractolotl/azplace-websocket-backend)
- [Frontend](https://github.com/Abstractolotl/azplace-frontend)
## Requirements
Before running this service you need the following other services:
- Redis-Server
- MariaDB-/MySQL-Server
- Elasticsearch Instance
## Database
```mermaid
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
```mermaid
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
```