Skip to content

OGordievsky/sweater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sweater


This application emulates a simple service for posting notes from users and saving them to PostgreSQL database.
It based on Spring Boot 2 technology.

Application realise next tricks:

  • Verification with Google ReCaptcha
  • Registration on the smtp email service and sending a confirmation link to the user's.
  • Used FlyWay util for migration DB
  • Publicate and edit posts with image uploads
  • Find message by tag
  • Like and subscribe users
  • Pagination on Fremarker pages


Stack:
Spring-Boot 2.0; Spring-Security; Spring-mail; PostgreSQL;
Freemarker; reCaptcha; Bootstrap; FlywWy; JUnit-4; Turbolinks

Before start this program:
Make sure you have 15 minutes or more of free time
Ensure that your PC have installed Java 11
And have installed Git
Create PostgreSQL database name: sweater with user: sweater_user password: 123
(You can change this credentials in project file "application-dev.properties")

How to start this program?

Start from IntelliJIDEA or another Java IDE
1. Walk into yours "projects" directory
2. In project directory type next console command: git clone https://github.com/OGordievsky/sweater
3. Open you favorite IDE
4. In yours IDE make next steps: File -> Open -> :\projects\sweater
5. Find main class "Application.java" into: sweater/src/main/java/com/example/sweater/
6. Right click on Application.java select [Run] (green "Play" triangle)
7. In your brother type: localhost:8080/sweater

Enjoy to use