news-site

所属分类:JavaScript/JQuery
开发工具:Java
文件大小:538KB
下载次数:0
上传日期:2022-11-29 12:30:31
上 传 者sh-1993
说明:  新闻网站使用Spring Boot作为NSTU网络编程的课程工作
(News site using Spring Boot as course work for NSTU web programming)

文件列表:
.mvn (0, 2022-11-29)
.mvn\wrapper (0, 2022-11-29)
.mvn\wrapper\MavenWrapperDownloader.java (4942, 2022-11-29)
.mvn\wrapper\maven-wrapper.properties (218, 2022-11-29)
mvnw (10070, 2022-11-29)
mvnw.cmd (6608, 2022-11-29)
pom.xml (3254, 2022-11-29)
src (0, 2022-11-29)
src\main (0, 2022-11-29)
src\main\java (0, 2022-11-29)
src\main\java\com (0, 2022-11-29)
src\main\java\com\github (0, 2022-11-29)
src\main\java\com\github\PopovDmitry (0, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu (0, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw (0, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\WebCwApplication.java (321, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\config (0, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\config\SecurityConfig.java (2497, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller (0, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\ArticleController.java (2790, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\AuthenticationController.java (1799, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\InformationController.java (644, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\SearchController.java (1363, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\UserController.java (1189, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\rest (0, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\rest\ArticleRestController.java (1478, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\rest\AuthenticationRestController.java (4306, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\controller\rest\CommentRestController.java (3327, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\dto (0, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\dto\ArticleDTO.java (538, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\dto\AuthenticationRequestDTO.java (312, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\dto\CommentDTO.java (406, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\dto\JwtTokenDTO.java (270, 2022-11-29)
src\main\java\com\github\PopovDmitry\nstu\webcw\model (0, 2022-11-29)
... ...

# News site 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. ## Used technologies - [JDK 16](https://www.oracle.com/java/technologies/javase/jdk16-archive-downloads.html) - [Apache Maven](https://maven.apache.org/) - [Spring Boot](https://spring.io/projects/spring-boot) - - [Spring Data Jpa](https://spring.io/projects/spring-data-jpa) - - [Spring Security](https://spring.io/projects/spring-security) - - [Spring Testing](https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html) - [Thymeleaf](https://www.thymeleaf.org/) - [Hibernate Validator](https://hibernate.org/validator/) - [Jwt](https://jwt.io/) - [Lombok](https://projectlombok.org/) - [SL4J](https://www.slf4j.org/) - [Logback](https://logback.qos.ch/) - [PostgreSQL](https://www.postgresql.org/) - HTML5, CSS3, JS, [Bootstrap](https://getbootstrap.com/) - [jQuery](https://jquery.com/) ## How to set up this project on your computer - Install [JDK 16](https://www.oracle.com/java/technologies/javase/jdk16-archive-downloads.html) and [PostgreSQL](https://www.postgresql.org/) - Clone [this](https://github.com/Popov-Dmitry/news-site) 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` ## Site pages - `/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: ![Pages](./.github/img.png)

近期下载者

相关文件


收藏者