Module 1 : Architecture web avec PostgreSQL
1.1 — La stack web moderne Aperçu
Module 2 : PostgreSQL avec PHP et PDO
2.1 — Connexion PDO PostgreSQL Aperçu
Module 3 : PostgreSQL avec Laravel
3.1 — Configuration .env Aperçu
Module 4 : API REST avec PostgreSQL
4.1 — Structure d'une API REST Aperçu
Module 5 : Transactions dans les applications
5.1 — Transactions côté applicatif Aperçu
Module 6 : PostgreSQL avec Node.js
6.1 — Driver pg Aperçu
Module 7 : PostgreSQL avec Python
7.1 — Driver psycopg2 Aperçu
Module 8 : Authentification et autorisation
8.1 — Authentification Aperçu
Module 9 : Gestion de fichiers et médias
9.1 — Stockage de fichiers Aperçu
Module 10 : Performance web
10.1 — Connection pooling avec PgBouncer Aperçu
Module 11 : Logging et monitoring applicatif
11.1 — Logs SQL Aperçu
Module 12 : Déploiement et Docker
12.1 — Docker PostgreSQL Aperçu
Module 13 : Tests et debugging
13.1 — Tests avec base de données Aperçu
Module 14 : Projet final — Application web full-stack
14.1 — Cahier des charges Aperçu

Le reste de la formation est réservé aux inscrits.

S'inscrire gratuitement
Module 8 : Authentification et autorisation Aperçu gratuit

8.1 — Authentification

-- Table users
CREATE TABLE users (id SERIAL PRIMARY KEY, email VARCHAR(200) UNIQUE NOT NULL, password_hash VARCHAR(255) NOT NULL, created_at TIMESTAMP DEFAULT now());
-- Enregistrement (PHP)
$hash = password_hash($password, PASSWORD_BCRYPT);
$stmt = $pdo->prepare("INSERT INTO users (email, password_hash) VALUES (:email, :hash)");
-- Connexion
$stmt = $pdo->prepare("SELECT id, password_hash FROM users WHERE email = :email");
$stmt->execute(['email' => $email]);
if (password_verify($password, $user['password_hash'])) { /* connecté */ }
Ceci est un aperçu gratuit.
Voir la formation complète