Welcome to my backend project repository! This project is a complete backend REST API built as part of my weekly development milestones. π»β¨
- π Express Server & Routing: Clean and structured RESTful endpoints (
/api/tasks,/api/interns, etc.). - ποΈ MongoDB & Mongoose: Persistent database storage ensuring data survives server restarts, complete with schemas, validation, and timestamps.
- π Full CRUD Operations: Create, Read, Update, and Delete operations fully tested and working.
- π‘οΈ Security & Protection: Secured using
HelmetandCORSmiddleware. β οΈ Robust Error Handling: Input validation, try/catch blocks, 404 route handlers, and a global error catcher.- π¬ Postman Collection: Fully documented and exported API collection.
- π’ Node.js
- π Express.js
- π MongoDB & Mongoose
- π Helmet & CORS
- π¦ Dotenv
- π Nodemon
Generated: 9/18/2026, 7:38:16 PM
Root Path: workspace\Learning_Node
βββ π Server
β βββ π Postman
β β βββ π Postman_Testing
β βββ π models
β β βββ π TaskModel.js
β βββ π index.js
β βββ π output.txt
β βββ βοΈ package-lock.json
β βββ βοΈ package.json
β βββ π server.js
βββ βοΈ .gitignore
βββ π README.md
- Clone Repository
git clone <repo-url>npm install
npm i helmet dotenv express mongoose cors nodemonMONGODB_URI=your_mongodb_connection_string
PORT=portnpm run devMehmoodCoder
- π GitHub: https://github.com/MehmoodCoder
- π Portfolio: My Portfolio Link
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request