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.
- 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.
- 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.
- Java 8 or later
- Maven or Gradle
- IDE like IntelliJ IDEA or Eclipse
git clone https://github.com/yourusername/blog-api.git