feat: Add multer to admin DB backup/restore and improve validation

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-21 20:19:00 +00:00
co-authored by mathieumoran1
parent ee483e342c
commit 7f0b7834e6
4 changed files with 114 additions and 22 deletions
+6
View File
@@ -27,6 +27,12 @@ npm install
node index.js
```
If you're updating an existing install (older `node_modules`), the admin DB backup/restore feature now uses `multer`, so make sure it's installed:
```bash
npm install multer
```
Add this to your `.env` (**required**: `MONGO_URI`, `JWT_SECRET`):
```bash