Git Product home page Git Product logo

movie_rating's Introduction

Movie Rating backend

Development

Using Spring Boot main class to start the app.

  • Lombok is used. Make sure you have the plugin of Lombok in IntelliJ or eclipse.

DB

1. MySQL

Before running the main app, run DB scripts to generate all the tables. Make sure the datasource is changed in application.properties file.

2. H2 - Embedded DB

The branch h2_as_db is using embedded database instead of MySQL. No scripts need to be run.

Security

Spring Security, DB based user authentication and JWT are used.

User sign up

basic information of users are saved in DB. Password is bcrypted.

User log in

Using username or email + password to log in. JWT token will be returned for the valid combination. After that, all API calls needs authorization header.

Front-end is the project listed in rating

API documents

Swagger

To Do

No UI changes

  • Implement a feature to allow user search by IMDB or title.(use the existing search by title field. No UI changes.)
  • Implement a feature to list all popular movies when Popular button is clicked on home page.(for now it is hard coded. No UI changes.)
  • Implement a feature to list all popular Action / Cartoon movies. (for now it is hard coded. No UI changes.)
  • Add cache expiration.(need to do some research. No UI changes.)

UI changes

  • Show user's First Name + Last Name on the right upper cover. (Now it is username-email, minor UI changes. Need backend changes.)
  • Implement delete rating function.(need some UI change)
  • Implement edit rating(need UI change)

movie_rating's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.