feat(backend): add authenticated API for projects and Jarvis chat
Introduce the user/project/message model, JWT authentication and an Ollama relay that streams answers chunk by chunk over SSE.
This commit is contained in:
1 parent
7c0156fbae
commit
32dd462be5
17 files changed
+1214
No files matched your search
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user