Files
main/rules-v0/nodejs-mongodb-cursorrules-prompt-file-tutorial/general-backend-node-js-express-rule.mdc
2025-02-27 00:04:07 +05:30

9 lines
434 B
Plaintext

---
description: Applies to all backend files, enforces Node.js with Express.js for the backend, MongoDB with Mongoose ODM for the database, and JWT for authentication.
globs: /backend/**/*.*
---
- Backend: Node.js with Express.js
- Database: MongoDB with Mongoose ODM
- Authentication: JSON Web Tokens (JWT)
- Ensure secure, efficient code following RESTful API best practices.
- Implement proper error handling and input validation.