honeybadger2788 / api-tasks

Repository from Github https://github.comhoneybadger2788/api-tasksRepository from Github https://github.comhoneybadger2788/api-tasks

API Tasks

Overview

This repository contains the source code for the API Tasks project. The API Tasks is a simple RESTful API for managing tasks, allowing users to perform basic CRUD operations on tasks.

Table of Contents

Getting Started

Prerequisites

  • Java (version 8 or higher)
  • Maven
  • MySQL (or another relational database)

Installation

  1. Clone the repository:

    git clone https://github.com/honeybadger2788/api-tasks.git
  2. Build the project:

    cd api-tasks
    mvn clean install
  3. Run the application:

     mvn spring-boot:run

Configuration

  • Configure the database connection in application.properties or application.yml.
  • Customize other application settings as needed.

Usage

Endpoints

  • POST /tasks/add: Create a new task.
  • GET /tasks: Retrieve a list of all tasks.
  • PUT /tasks/update: Update an existing task.
  • DELETE /tasks/delete/{id}: Delete a task by ID.

Testing

To run tests, use the following command:

mvn test

About


Languages

Language:Java 100.0%