Skip to content

AlTriV/simple-blog

Repository files navigation

Simple Blog v2

Introduction

This project is a simple web application based on Spring Boot, that implements a small blog.

Features

  • Adding posts with pictures and tags, editing and deleting them
  • Leaving comments under the post
  • Liking or disliking posts
  • Looking for posts by tag

App build requirements

  • JDK 21
  • Gradle 8.13 (optional)

App start requirements

Option 1

Using docker environment.

First of all build executable jar file with gradle:

./gradlew clean test bootJar

From the project folder '/docker' run the command:

docker compose up

Blog will start on http://localhost:8080/blog address.

Option 2

For this option yor should have your own postgres 17 db.

Export environment variables required for connection to the database or change it directly in the file application.properties.

Build application using gradle:

./gradlew clean test bootJar

Start your database and then start blog app using

java -jar blog.jar

or run executable jar from console directly

./blog.jar

About

Simple blog app based on Spring Framework

Resources

Stars

Watchers

Forks

Packages

No packages published