Introduce the user/project/message model, JWT authentication and an Ollama relay that streams answers chunk by chunk over SSE.
24 lines
584 B
JSON
24 lines
584 B
JSON
{
|
|
"name": "jarvise-backend",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "API backend pour Jarvis : utilisateurs, projets, contexte de conversation et streaming Ollama.",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"scripts": {
|
|
"start": "node src/server.js",
|
|
"dev": "node --watch src/server.js",
|
|
"test": "node --test test/"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^10.0.0",
|
|
"@fastify/helmet": "^13.0.0",
|
|
"@fastify/jwt": "^9.0.0",
|
|
"@fastify/rate-limit": "^10.0.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"fastify": "^5.0.0"
|
|
}
|
|
}
|