Skip to main content

2 posts tagged with "frontend"

View All Tags

HTTP Response Status Codes — Practical Guide for Modern Web & API Development

· 5 min read
Mezaache Akram
Mezaache Akram
Developer & Frontend team lead

For developers at Sadeem Informatique

Most developers know what the codes mean — very few consistently use them correctly in real applications. This guide shows practical usage patterns you will actually encounter in production React/Next.js apps + Node.js/Express/Laravel/whatever backend.

Laptop screen showing HTTP response codes and network tab

Photo by ThisIsEngineering on Unsplash

Secure Bearer Token Storage in Practice

· 10 min read
Mohamed El Amine Meghni
Mohamed El Amine Meghni
Software & DevOps Engineer

For developers at Sadeem informatique

Most articles explain where to store tokens. This guide shows you exactly how to implement a secure setup in a real web application.

We'll build the modern recommended pattern:

TokenStorageLifetime
Access tokenIn-memory only (encrypted JWT)15 minutes
Refresh tokenHTTP-only encrypted cookie7 days

This approach aligns with OWASP security guidance and is widely used in production SaaS applications.

Laptop displaying a lock icon representing secure token and authentication practices

Photo by Dan Nelson on Pexels.