Skip to content

Repository files navigation

Task-Management-API

An API for managing tasks and to-do lists. Built with Golang, this RESTful API allows you to create, update, delete, and organize tasks, with support for prioritization and categorization. Designed for easy integration with any frontend or client application.

Features

  • Task CRUD: Create, read, update, and delete tasks.
  • Prioritization: Assign priorities to tasks.
  • Categorization: Organize tasks into custom categories.
  • RESTful Endpoints: Standard REST API design for easy integration.
  • Extensible: Designed to be used with any frontend or client.

Getting Started

Prerequisites

  • Go (version 1.18+ recommended)

Installation

  1. Clone the repository:

    git clone https://github.com/b-isry/Task-Management-API.git
    cd Task-Management-API
  2. Install dependencies:

    go mod tidy
  3. Run the server:

    go run main.go

    The server should start on the default port (e.g., localhost:8080). You can configure the port by editing the configuration if provided.

API Endpoints

Method Endpoint Description
GET /tasks List all tasks
POST /tasks Create a new task
GET /tasks/{id} Get a specific task
PUT /tasks/{id} Update a task
DELETE /tasks/{id} Delete a task
... ... Additional endpoints as needed

(Check the source code for full endpoint details and request/response formats.)

Example Task Object

{
  "id": 1,
  "title": "Buy groceries",
  "description": "Milk, Eggs, Bread",
  "priority": "High",
  "category": "Personal",
  "completed": false
}

Integrating with Frontends

You can use this API with any frontend (React, Angular, Vue, mobile, etc.) by making HTTP requests to the endpoints described above.

About

API for managing tasks and to-do lists. Built with Golang, using RESTful endpoints for creating, updating, deleting, and organizing tasks with support for prioritization and categorization. Designed to be integrated with any frontend or client application.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages