In this project, a server application for a news site has developed and tested. Authors can create and edit articles. Readers - view articles and lists of articles by various authors, leave comments, search.
- JDK 16
- Apache Maven
- Spring Boot
- Thymeleaf
- Hibernate Validator
- Jwt
- Lombok
- SL4J
- Logback
- PostgreSQL
- HTML5, CSS3, JS, Bootstrap
- jQuery
- Install JDK 16 and PostgreSQL
- Clone this repository
- In file
./src/main/resources/application.properties
change parameters for accessing the database: -
spring.datasource.url
-
spring.datasource.username
-
spring.datasource.password
-
jwt.secret-key
-
jwt.expiration
/news
- main page of the site with all articles/news/{id}
- article view page/news/new
- article creation page/search
- search results page/users/{id}
- user page with all articles written by him/auth/reg
- registration page/auth
- authorization page/help/bb_codes
- help on bb-codes of the site/contacts
- contacts page
User interface examples: