Skip to content

TaskMaster is a robust task management system built with Node.js, Express, and MongoDB Atlas using Mongoose. It allows users to efficiently create, retrieve, update, and delete tasks through a user-friendly web interface.

Notifications You must be signed in to change notification settings

Prem-Mule/TaskMaster-NodeExpress-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskMaster - Task Management System

TaskMaster is a powerful task management system built using Node.js, Express, and MongoDB Atlas with Mongoose. It provides users with the ability to efficiently manage tasks through a user-friendly web interface.

Features

  • Create, retrieve, update, and delete tasks.
  • RESTful API for seamless integration with other applications.
  • Error handling middleware to ensure smooth operation.
  • Asynchronous operations for improved performance.

Installation

  1. Clone the repository:

    git clone https://github.com/Prem-Mule/TaskMaster.git
    
  2. Install dependencies:

     npm install
    
  3. Set up environment variables:

     Create a .env file in the Starter directory.
    

Add your MongoDB Atlas URI as MONGO_URI in the .env file.

Usage

  • 1 Start the server:

    npm start
     

Access the API:

  • Base URL: http://localhost:4000/api/v1/tasks
  • Endpoints:
    • GET /: Retrieve all tasks.
    • POST /: Create a new task.
    • GET /:id: Retrieve a specific task by ID.
    • PUT /:id: Update a specific task by ID.
    • DELETE /:id: Delete a specific task by ID.

Folder Structure

  • Starter/: Contains the project files.
    • Routes/: Contains route handlers for different API endpoints.
    • Models/: Contains Mongoose models for interacting with the MongoDB database.
    • Middleware/: Contains middleware functions for error handling and other purposes.
    • db/: Contains database connection setup.
    • public/: (Optional) Contains public assets for the frontend, if any.

Dependencies

  • express: Fast, unopinionated, minimalist web framework for Node.js.
  • mongoose: Elegant MongoDB object modeling for Node.js.
  • dotenv: Loads environment variables from a .env file into process.env.
  • nodemon: Utility that monitors for changes in your source code and automatically restarts your server.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

TaskMaster is a robust task management system built with Node.js, Express, and MongoDB Atlas using Mongoose. It allows users to efficiently create, retrieve, update, and delete tasks through a user-friendly web interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published