/myBoard

Board for user's posts

Primary LanguageJava

**New features are going to be implemented in the future

myBoard

Live version (might take few seconds to load): https://my-post-board.herokuapp.com/

myBoard is an application that gives user the opportunity to create posts and comment post of other users. You need to register to be able to use the site or you can use universial credentials:

  • username: user
  • password: user

Tech Stack:

  • Spring Boot
  • Spring Security
  • Spring AOP
  • Hibernate
  • MySQL
  • Flyway
  • Thymeleaf
  • HTML + CSS
  • Bootstrap

How to run the project:

Database setup

You will need MySQL database instance. If you already have that we can move on to editing application.properties. I suggest to create your own local profile called for example application-local.properties (or .yml) where you can put your database credentials. In order to do that, edit these properties:

    spring.datasource.url=
    spring.datasource.username=
    spring.datasource.password=

And then remember to set your profile as active:

    spring.profiles.active=

Next thing to do is creating schemas. To do that you can use my scripts located in /src/main/resources/ and called DatabaseInitScripts.sql and SecuritySqlScripts.sql or just enable flyway by changing the property to:

    spring.flyway.enabled=true

Now you should be able to run the app on your localhost.