qReolq / my-post

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:HTML 37.0%Language:Java 32.7%Language:CSS 30.1%Language:Dockerfile 0.2%Language:JavaScript 0.0%