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.
-
Clone the repository:
git clone https://github.com/honeybadger2788/api-tasks.git
-
Build the project:
cd api-tasks mvn clean install
-
Run the application:
mvn spring-boot:run
- Configure the database connection in
application.properties
orapplication.yml
. - Customize other application settings as needed.
- 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.
To run tests, use the following command:
mvn test