Skip to content

A Movie Review System built using Spring Boot, Spring MVC, Spring Data JPA, MySQL and JUnit. This application allows users to register, browse movies, leave reviews, and view reviews left by others. It uses RESTful APIs to manage movies, users, and reviews.

Notifications You must be signed in to change notification settings

GouthamKumar025/Movie-Review-Application-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie-Review Application System

Overview

A Movie Review System built using Spring Boot, Spring MVC, Spring Data JPA, MySQL and JUnit. This application allows users to register, browse movies, leave reviews, and view reviews left by others. It uses RESTful APIs to manage movies, users, and reviews.

Technologies Used

  • Java 17
  • Spring Boot
  • Spring MVC
  • Spring Data JPA
  • MySQL (Database)
  • Maven (Build tool)
  • Postman (for API testing)

Installation and Setup

Clone the repository

git clone https://github.com/GouthamKumar025/Movie-Review-Application-System.git
cd Movie-Review-Application-System

Update application properties: In src/main/resources/application.properties, configure your MySQL database settings:

Properties

spring.datasource.url=jdbc:mysql://localhost:3306/moviereviewdb
spring.datasource.username=<your-database-username>
spring.datasource.password=<your-database-password>

spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect

Build the project:

mvn clean install

Run the application:

mvn spring-boot:run

Project Creation

Spring Initializr 🌏 - https://start.spring.io/

  • Lombok - A prominent Java library for annotations(@) and reduces boilerplate code
  • MySQL Driver - A library that allows Java applications to connect and communicate with a MySQL database. In Java, this driver is typically provided by a JAR file called mysql-connector-java, which implements the JDBC (Java Database Connectivity) API to establish connections, execute SQL queries, and retrieve results from the MySQL database.
  • Spring Data JPA - It helps in managing Relational databases and allows to access and persist data between Java Classes and Relational database
  • Spring Web - Useful library for building RESTful applications and Spring MVC
  • On creating the package and extracting, the java folder looks like this

    import org.springframework.boot.SpringApplication;  
    import org.springframework.boot.autoconfigure.SpringBootApplication;  
      
    @SpringBootApplication  
    public class SpringbootpracticeApplication {  
      public static void main(String[] args) {  
        SpringApplication.run(SpringbootpracticeApplication.class, args);  
      }  
    }

    About

    A Movie Review System built using Spring Boot, Spring MVC, Spring Data JPA, MySQL and JUnit. This application allows users to register, browse movies, leave reviews, and view reviews left by others. It uses RESTful APIs to manage movies, users, and reviews.

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages