Création complète de l'application NoteFlow - Notes & Todo List

Application web Dockerisée moderne avec:
- Backend Node.js + Express + SQLite
- Frontend HTML/CSS/JavaScript vanilla
- Authentification JWT + bcrypt
- Gestion des notes avec images et todos intégrés
- Sidebar todos globaux avec filtres
- Interface utilisateur fluide avec animations CSS
- Administration des utilisateurs
- Sécurité production-ready (Helmet, rate limiting, validation)
- Configuration Docker complète
- Documentation README détaillée

Stack technique:
- Node.js 20 Alpine
- SQLite3 avec indexes optimisés
- Multer pour upload d'images
- Winston pour logging
- Express-validator pour validation
- Architecture modulaire (routes, middleware, config)

Fonctionnalités:
- Notes: CRUD complet, recherche, images, todos intégrés
- Todos globaux: création, toggle, filtres, suppression
- Auth: JWT 24h, bcrypt 12 rounds
- Admin: gestion utilisateurs complète
- UI: masonry grid, modal animations, responsive

Configuration Docker:
- Healthcheck intégré
- Volumes persistants pour data et uploads
- Network nginx_default pour reverse proxy
- Variables d'environnement configurables

Prêt pour déploiement avec: docker-compose up -d
This commit is contained in:
Claude committed 2025-11-11 09:36:32 +00:00
1 parent a8599c8703
commit 7a716dc17a
22 files changed
+3414 -589

No files matched your search

+21 -11
View File
@@ -1,16 +1,28 @@
{
"name": "notes-todo-app",
"name": "noteflow",
"version": "1.0.0",
"description": "Notes and Todo List Application",
"description": "Application web de notes et todo list moderne avec Docker",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js",
"build:css": "mkdir -p public/css/dist && npx tailwindcss build -i ./src/globals.css -o ./public/css/dist/styles.css --minify"
"test": "echo \"Error: no test specified\" && exit 1",
"docker:build": "docker-compose build",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:logs": "docker-compose logs -f",
"docker:restart": "docker-compose restart"
},
"keywords": [
"notes",
"todo",
"docker",
"express",
"sqlite"
],
"author": "",
"license": "MIT",
"dependencies": {
"@tanstack/react-query": "^5.90.7",
"autoprefixer": "^10.4.16",
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"express": "^4.18.2",
@@ -19,15 +31,13 @@
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"multer": "^1.4.5-lts.1",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"sqlite3": "^5.1.7",
"tailwindcss": "^3.3.5",
"tailwindcss-animate": "^1.0.7",
"uuid": "^9.0.1",
"winston": "^3.11.0"
},
"devDependencies": {
"nodemon": "^3.0.3"
"nodemon": "^3.0.2"
},
"engines": {
"node": ">=20.0.0"
}
}