Skip to content

Task Management RESTful service built with Spring Web, showcasing HTTP methods and JSON responses.

Notifications You must be signed in to change notification settings

shuvajitpal/Build-REST-API-with-Spring-Boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Task Management REST API

What I Built

I developed a simple REST API for task management using Spring Boot.
The API supports basic CRUD operations (Create, Read, Update, Delete) on tasks and exchanges data in JSON format.

Why I Built It

The goal of this project was to understand and practice the fundamentals of REST architecture, HTTP methods, and Spring Boot annotations.
Instead of using a database, tasks are stored in an in-memory list, which makes it lightweight and perfect for learning and testing with Postman.

How I Built It

  • IDE: Spring Tool Suite (STS) for Eclipse
  • Build Tool: Maven
  • Dependency: Only Spring Web (no database, no JPA)
  • Controller: TaskController handles endpoints for creating, reading, updating, and deleting tasks.
  • Testing: Used Postman to send requests and verify JSON responses.

Endpoints

  • POST /tasks → Create a new task
  • GET /tasks → Get all tasks
  • GET /tasks/{id} → Get task by ID
  • PUT /tasks/{id} → Update task by ID
  • DELETE /tasks/{id} → Delete task by ID

About

Task Management RESTful service built with Spring Web, showcasing HTTP methods and JSON responses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages