Title: P3: Small web site work [2025-03-29 Sat]

session tokens. passwords stored in JSON as bcrypt
hashes with help of passlib.

With AI, I added simple brutefore protection by IP.
#dailyreport #fastapi #webdevelopment #web #html #cookies #webauthentification #authentification

Title: P2: Small web site work [2025-03-29 Sat]

In async_wrapper:
if asyncio.iscoroutine(result):
result = await result
return result

Authentification handled by cookies I use simple sessions
based on two salts generated at server side with
expiration date and generate session tokens as hesh with
username and salt I use hashing sha256 to generate #dailyreport #fastapi #webdevelopment #web #html #cookies #webauthentification #authentification

Title: P1: Small web site work [2025-03-29 Sat]

pydantic used for forms verification.

All GET and POST functions wrapped with decorator that
catch exception and send notification to Telegram
messanger. It have async_wrapper and sync_wrapper.

if asyncio.iscoroutinefunction(func):
return async_wrapper
else:
return sync_wrapper #dailyreport #fastapi #webdevelopment #web #html #cookies #webauthentification #authentification

Title: P0: Small web site work [2025-03-29 Sat]

I made small web site with authentification and simple
forms to allow boss and clients to control our server
with help of FastAPI and Jinja2 templates.

Page is just table <table> with rows that have <form>
with hidden field of id and buttons to save or delete,
add button with <form> at bottom. #dailyreport #fastapi #webdevelopment #web #html #cookies #webauthentification #authentification