This is the backend of a task management application built using Node.js and Express.js. It provides RESTful APIs for managing tasks, including creating, reading, updating, and deleting tasks.
Features
Create Task: POST request to create a new task.
Read Task: GET request to fetch all tasks or a specific task by ID.
Update Task: PUT request to update an existing task.
Delete Task: DELETE request to delete a task by ID.
Database Integration: Uses MongoDB database with Mongoose for storing task data.
CORS Support: Cross-Origin Resource Sharing (CORS) is enabled to allow requests from frontend applications.
Environment Variables: Uses dotenv for managing environment variables like database connection URL.