Skip to content

A comprehensive collection of projects and resources on Spring Boot and Java, featuring a blog application along with RESTful APIs, microservices, data management, security, and best practices for effective development.

Notifications You must be signed in to change notification settings

Firoz-Thakur/Spring-Boot

Repository files navigation

Blog Application - REST API with Spring Boot

This is a simple blog application that exposes a REST API using Spring Boot. The API allows you to create, read, update, and delete blog posts. It also includes basic features such as authentication and validation.

Features

  • Create Blog Post: Allows users to create a new blog post.
  • Read Blog Posts: Allows users to view a list of all blog posts or a specific blog post.
  • Update Blog Post: Allows users to update the content of an existing blog post.
  • Delete Blog Post: Allows users to delete a specific blog post.
  • Authentication: Secures API endpoints using JWT token-based authentication.
  • Validation: Basic input validation for creating and updating blog posts.

Technologies Used

  • Spring Boot: Framework for building the application.
  • Spring Data JPA: For database interactions and ORM support.
  • H2 Database: An in-memory database for development and testing.
  • Spring Security: For authentication and authorization.
  • JUnit: For unit testing.

Prerequisites

  • Java 8 or later
  • Maven or Gradle
  • IDE like IntelliJ IDEA or Eclipse

Getting Started

1. Clone the repository

git clone https://github.com/yourusername/blog-api.git

About

A comprehensive collection of projects and resources on Spring Boot and Java, featuring a blog application along with RESTful APIs, microservices, data management, security, and best practices for effective development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages