An open API service indexing awesome lists of open source software.

https://github.com/firoz-thakur/spring-boot

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.
https://github.com/firoz-thakur/spring-boot

css html5 jdbc mysql orm rest-api spring spring-boot

Last synced: 4 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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

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