Skip to content

Shehapp/LetterBoxdX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LetterBoxdX (in Spring)

Description

The application allow to add movies , rate them, write reviews and like reviews of other users. It is a clone of Letterboxd website.

two types of users:

  • user - can add movies to his/her watchlist, rate them, write reviews and like reviews of other users.
  • guest - can see the movies, profiles of users, reviews and ratings.

Tools & Frameworks

The application is written using Spring MVC framework and Maven (for external dependency managment).

Database & configuration

  • MySQL
  • Tomcat
  • Git
  • Quote Movies API
  • Movie API

Backend technologies

  • Java
  • Spring MVC, Spring AOP, Spring Security
  • Hibernate ORM, Hibernate Validator
  • JSON
  • Project Lombok

Frontend technologies (with chatGPT)

  • HTML, CSS, JavaScript
  • JSP

How to run it?

  1. Clone this git repository

$ git clone https://github.com/Shehapp/LetterBoxdX.git

  1. Go to a folder src/main/resources/properties, add your Movie API key (here are instructions how to obtain it) as follows:

movie.apiKey=[YOUR KEY HERE]

  1. Go to a folder src/main/resources/properties, add your db.properties file as follows:

db.driver=com.mysql.jdbc.Driver

db.url=jdbc:mysql://localhost:3306/[YOUR SCHEMA NAME HERE]?useSSL=false&serverTimezone=UTC

db.username=[YOUR USERNAME HERE]

db.password=[YOUR PASSWORD HERE]

  1. The application will available under URL http://localhost:8080/home

Database Diagram

Big picture on the database relationships. Database

Detailed look on user entity relationships.Some of them, like Confirmation_email_token are specific for Spring Security confirm email and persistent_logins for remember me functionality Database

Screenshots

Login page

Login

Sign up page Sign up

Main page, after login. The quote is taken from Random Quote API.

main

searching for movies search

movie details movie

reviews of a movie reviews

profile page profile

review in profile page review

activity page activity