Files
EMI-Backend/package.json
Adolfo Reyna 148ed696b2 feat: Add Swagger API documentation
This commit introduces Swagger API documentation for all endpoints in the
application.

- Installs  and .
- Configures Swagger in  to generate and serve API documentation
  at .
- Adds JSDoc-style Swagger annotations to all routes in  and
  the  directory (, , ,
  , , ).
- Defines a cookie-based security scheme for authenticated routes.

This allows for interactive API documentation and testing via the
endpoint.
2025-07-17 09:52:37 -04:00

43 lines
1.1 KiB
JSON

{
"name": "emi_backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npx mocha test/auth.test.js",
"start": "node index.js",
"docker": "docker compose up -d",
"docker_restore": "docker-compose exec mongo mongorestore --db EMI_SOCIAL /dump/EMI_SOCIAL/",
"docker_dump": "docker-compose exec mongo mongodump --uri ${MONGO_URL} --out /dump"
},
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^1.1.3",
"bcrypt": "^5.0.0",
"body-parser": "^1.19.0",
"cheerio": "^1.0.0-rc.12",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"expo-server-sdk": "^3.6.0",
"express": "^4.17.1",
"express-rate-limit": "^7.5.0",
"mongodb": "^3.6.3",
"nodemailer": "^6.6.3",
"object-hash": "^3.0.0",
"ollama": "^0.5.13",
"posthog-node": "^4.4.1",
"socket.io": "^4.6.1",
"stripe": "^8.178.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"web-push": "^3.4.5"
},
"devDependencies": {
"chai": "^5.2.0",
"mocha": "^11.1.0",
"supertest": "^7.0.0"
}
}