Skip to content

Feature/authentification#23

Open
NoppeHugo wants to merge 21 commits into
EphecLLN:mainfrom
DevIII-2025:Feature/Authentification
Open

Feature/authentification#23
NoppeHugo wants to merge 21 commits into
EphecLLN:mainfrom
DevIII-2025:Feature/Authentification

Conversation

@NoppeHugo
Copy link
Copy Markdown

Ce qui a été mis en place
Authentification avec JWT + cookies httpOnly (sécurisé)
Backend Django : routes /login, /me, /logout
Frontend React : formulaire de login, gestion auto de la session, logout

Comment tester
cd back
python -m venv venv
venv\Scripts\activate # ou source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

cd my-movie-app
npm install
npm start

Connectez-vous avec le formulaire (React)
Si succès → l’utilisateur est enregistré dans un cookie sécurisé
L’app React s’affiche uniquement si on est connecté
Le bouton Logout supprime la session

@Y-Rowz Y-Rowz deleted the Feature/Authentification branch April 3, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants