Skip to content

A basic CRUD (Create, Read, Update, Delete) REST API for managing journal entries, built with Spring Boot. This project demonstrates core concepts of backend development, including HTTP methods, request/response handling, and in-memory data storage.

Notifications You must be signed in to change notification settings

hariomraghuwanshi/Rest-API-using-Spring-Boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Journal API with Spring Web

A simple RESTful API for managing journal entries built with Spring Web and in-memory storage.

Features

  • REST endpoints for CRUD operations
  • In-memory storage using Java Collections
  • Spring Web for HTTP handling
  • No database dependencies

Technologies

  • Java 17
  • Spring Boot 3.x
  • Spring Web
  • Maven

API Structure

Endpoints

HTTP Method Endpoint Description
POST /Journal/ Create a new journal entry
GET /Journal/ Retrieve all journal entries
GET /Journal/id/{myid} Get a specific journal entry
PUT /Journal/id/{id} Update a journal entry
DELETE /Journal/id/{myid} Delete a journal entry

Get Entry (GET /Journal/id/1) { "id": 1, "title": "happy", "content": "i am happy" }

Future Improvements

Add persistent storage

Implement input validation

Add error handling

Include unit tests

About

A basic CRUD (Create, Read, Update, Delete) REST API for managing journal entries, built with Spring Boot. This project demonstrates core concepts of backend development, including HTTP methods, request/response handling, and in-memory data storage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages