Skip to content

HumzaVhr/royal-escape-backend

 
 

Repository files navigation

royal-escape-backend

Python backend service for RE Create a Postman Environment named Royal Escape-Local:

{ "base_url": "http://localhost:8000", "user_jwt": "", "admin_jwt": "", "pot_id": "" }

Recommended Testing Flow

🔹 Admin

Create pot → copy pot_id

Activate pot

Wait for entries

Close pot manually (status = closed)

Declare winner

🔹 User

View pots

View pot

Enter pot

Check entries

🔐 JWT Reminder

User JWT → role = user

Admin JWT → role = admin

Admin-only routes will 403 if role is wrong (as expected).

start backend without docker

poetry run uvicorn app.main:app --reload

About

Python backend service for RE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.3%
  • Dockerfile 0.7%