Imprimer
Catégorie : R4.01 - Services web (nodejs)
Affichages : 514

Objectifs du cours:

Il s'agit d'une continuation du cours R301 Backend. Ce cours couvre :

- Utilisation de Sequelize ORM avec NodeJS
- Appliquer différentes stratégies d'authentification et d'autorisation
- Sécurité web
- Applications temps réel avec web sockets

 

Semaines 1 et 2: 

Authentification avec Passport-local et Sequelize

bdd_node_1

Codelab: Authentication Passport Local

 

 

Semaine 3: 

Authentification avec JWT: Moodle

 

Semaine 4: 

Authentification avec OAuth2

TP - Oauth2 + MongoDB

 

 

Semaine 5: 

NodeJS + SocketIO + MongoDB

webserv_sockets_mongodb.zip 

 Activité : Créer une application LLM locale avec SocketIO, NodeJS, et OLLAMA

ollama_models.png

 

POST: http://localhost:11434/api/generate

Body (exemple):

{

"model": "deepseek-r1",

"prompt": "Bonjour",

"stream": false

}

 

ollama_api_postman.png