Skip to content

News site using Spring Boot as course work for NSTU web programming

Notifications You must be signed in to change notification settings

Popov-Dmitry/news-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

How to set up this project on your computer

  • 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

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