bonamin 5dbb775308 Backend: move JWT logic to deps.py, fix circular import in auth
Token creation/decoding/blacklisting was split across auth.py and deps.py
causing a circular import. Consolidate make_token, decode_token, and
blacklist_token in deps.py; auth.py now imports from there.
Also switches /login to accept JSON body (username+pin) instead of
form-encoded, and returns a proper user object in the response.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 09:26:49 +03:00
Description
A modern, elegant and simple POS System for Restaurants, Bars, and general catering venues.
Readme 1.7 MiB
Languages
JavaScript 79.6%
Python 18.2%
CSS 1.4%
HTML 0.8%