image

Mid-Term Project

This project follows the tutorial from the video: YouTube Video.

Project Structure

The project has the following directory and file structure:

src/
 └── main/
     ├── java/
     │   └── vn/
     │       └── kaiz/
     │           └── midterm/
     │               ├── controllers/
     │               │   ├── ProductController.java
     │               │   └── ...
     │               ├── models/
     │               │   ├── Product.java
     │               │   └── ProductDto.java
     │               ├── repositories/
     │               │   └── ProductRepository.java
     │               ├── services/
     │               │   ├── ProductService.java
     │               │   └── ...
     │               ├── MidTermApplication.java
     │               └── ...
     ├── resources/
     │   ├── application.properties
     │   ├── static/
     │   │   └── images/
     │   └── templates/
     │       ├── products/
     │       │   ├── productList.html
     │       │   ├── createProduct.html
     │       │   └── viewProduct.html
     │       └── ...
     └── ...

Setup Instructions

  1. Clone the Repository

    git clone https://github.com/tentoilatai/JVSP_Mid-Term.git
  2. Navigate to the Project Directory

    cd JVSP_Mid-Term
  3. Install Dependencies

    This project uses Maven, so install the dependencies with:

    mvn install
  4. Run the Application

    mvn spring-boot:run

Additional Information

  • Controllers: Contains the application controller classes, such as ProductController.java.
  • Models: Contains the data model classes, such as Product.java and ProductDto.java.
  • Repositories: Contains the data access classes, such as ProductRepository.java.
  • Services: Contains the business logic service classes, such as ProductService.java.
  • Templates: Contains HTML template files for the user interface.

Contact

If you have any questions, please contact via email: iam@kaiz.vn or create an issue on this repository.