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.
- Clone repository
git clone https://github.com/Vladosik12333/blog-service-java - Create env file for secrets
touch .env - Put in env file: DB_URL, DB_USER, DB_PASSWORD, DB_NAME, JWT_TOKEN_SECRET
- Run docker compose
docker-compose up - Open swagger to test the service
- In case of testing from Postman, import Postman collection
- Use GET /health-check/ping expecting response "Success" 200 to verify the service running
Use login "admin" and password "admin" to log in.



