Skip to content

Vladosik12333/blog-service-java

Repository files navigation

Blog Service Java

The Java service serves as a REST API for social networks allowing CRUD operations on posts and reactions. It also includes authentication and authorization functionality using an OAuth 2.0 protocol.

Screenshots

Image 1 Image 2 Image 3 Image 4

Installation

  1. Clone repository git clone https://github.com/Vladosik12333/blog-service-java
  2. Create env file for secrets touch .env
  3. Put in env file: DB_URL, DB_USER, DB_PASSWORD, DB_NAME, JWT_TOKEN_SECRET
  4. Run docker compose docker-compose up
  5. Open swagger to test the service
  6. In case of testing from Postman, import Postman collection
  7. Use GET /health-check/ping expecting response "Success" 200 to verify the service running

Use login "admin" and password "admin" to log in.

Technologies

Language - Java 23 Framework - 
Spring Boot 3.4.2 Spring Boot - Web Spring Boot - 
Data JPA Spring Boot - 
Security Spring Boot - Test Spring Boot 
- Validation Library - JUnit Library - Mockito Library - Lombok Library - Liquibase Library - OpenAPI Library - jsonwebtoken Library - h2database Library - logbook Library - dotenv Database - PostgreSQL Technology - Docker

Authors

Vladyslav Babiak - Developer

Copyright & Licensing Information

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published