Skip to content
/ my-post Public

my-post is simple a web application with the ability to create and moderate posts and much more

Notifications You must be signed in to change notification settings

qReolq/my-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-post

my-post is simple a web application with the ability to create and moderate posts and much more

Technologies

Spring (Boot, Security, JPA, MVC), Lombok, Maven, Docker, Hibernate, PostgreSQL, JUnit, Mockito, Thymeleaf, Bootstrap, HTML, CSS

Features

  • Register a new account with email confirmation and reCAPTCHA (for this you need to follow this instruction)
  • User
    • Subscribe to tags and users
    • Сomment on posts
    • Get notifications from subscribed users
    • Upload profile
    • Create new posts and tags
  • Admin
    • Moderate new posts and tags
    • Ban users and grant them rights
    • Delete user comments
  • And much more

Quick start

  1. Clone this repo into folder.
git clone git@github.com:qReolq/my-post.git
cd my-post
  1. Start docker compose
docker compose up
  1. Go to http://localhost:8080/auth/login

  2. You can register or login as an existing user ~ login:timur password:1q2w

  3. Stop docker

docker compose down

Registration settings

  1. To register you need to provide your google email address and google apps password to application.properties file
spring.mail.username=your_gmail_addres
spring.mail.password=your_application_passwords
  1. Package the project and run docker
./mvnw package -DskipTests
docker compose up --build

my-post ER Model

image