Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Manager API

A simple RESTful API for managing tasks, built with Go and Gin.

Features

  • Create, read, update, and delete tasks
  • In-memory storage
  • API documentation in docs/api_documentation.md

Getting Started

Prerequisites

  • Go 1.24+

Installation

  1. Clone the repository:
    git clone <your-repo-url>
    cd task_manager_api_2
  2. Install dependencies:
    go mod tidy

Running the API

  1. Start the server:
    go run main.go
  2. The API will be available at http://localhost:8080/tasks

API Documentation

See docs/api_documentation.md for details on endpoints, request/response formats, and examples.

Project Structure

├── controllers/      # API endpoint handlers
├── data/             # In-memory data service
├── docs/             # Documentation
├── models/           # Data models
├── router/           # Route setup
├── main.go           # Entry point
├── go.mod            # Go module file

Example Task Object

{
  "id": 1,
  "title": "Task Title",
  "description": "Task Description",
  "duedate": "2025-07-16T00:00:00Z",
  "status": "pending"
}

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages