Skip to content

Azekaa/Final_project_Spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supervillain Henchmen HR System

Spring Boot backend for a full henchmen HR lifecycle:

  • hiring
  • mission assignment
  • performance reviews
  • severance decisions

Includes SIS 7-9 defense guideline logic.

Tech checklist coverage

  • Feign Client: BossIntelClient with BossIntelFallback
  • Docker: Dockerfile + docker-compose.yml with PostgreSQL
  • Spring Security: JWT auth + protected /api/** endpoints

Run with Docker

docker compose up --build

Demo credentials

  • username: boss
  • password: evil123

Example demo flow

  1. Request protected endpoint without token:
    • GET http://localhost:8080/api/henchmen -> 401
  2. Login:
    • POST http://localhost:8080/api/auth/login
    • body: {"username":"boss","password":"evil123"}
  3. Retry protected endpoint with Authorization: Bearer <token> -> 200
  4. Show Feign source (BossIntelClient) and severance evaluation endpoint:
    • POST /api/severance/evaluate/{henchmanId}?reason=Failed+boss+escort

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors