second-hand-bbs

This project is a campus second-hand transaction forum based on Spring Boot and Spring Data JPA. The front-end page is mainly completed by bootSTRAP4, and part of the style refers to a Spanish shopping website (I don’t understand the front-end is too painful).

Technology stack

  • spring boot
  • spring data jpa
  • mysql
  • thymeleaf
  • bootstrap4

Function is introduced

  • It is divided into users and administrators. Administrators can manage most information
  • Purchase link by adding wechat, add QQ to achieve
  • Be able to leave a message on the product
  • Able to modify and delete personal unused items and personal information

fast

  1. Clone the project locally

    git clone [email protected]:504250439/second-hand-bbs.git

  2. Start by creating a new Spring database in mysql, and then import the three SQL files in the mysql folder in this project.

  3. Modify the database configuration based on your local situation. The database configuration is in the Application.properties of the SpringBoot project

  4. Run the project in IntelliJ IDEA

OK, at this point, the server is successfully started, at this point we directly enter in the address bar

http://localhost:8080/index

You can visit our project.

Matters needing attention

  1. If only the files in the project are displayed after the import, the project structure is not displayed. Can refer to this article to solve
  2. Product images are saved in the local e-disk second-hand-BBS folder. You can modify the saving position of the image file in application.properties.

Some Screen shots

todo

  • Added Redis to save sessions
  • Tidy up items (remove excess)
  • Recommendation of the same kind

The last

If it helps you, click a star on Github, ╭(● ‘∀´●) first time writing an article, and if you have any questions, just comment and respond below, I’ll reply when I see it