Giter Site home page Giter Site logo

tomassirotek / private-movie-collection Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 4.0 574 KB

A movie aficionado is buying and collecting movies in the mp4 format on an external 2 TB harddrive. So far he has tried to use a system where he puts them in different folders, depending on their IMDB rating and the category of the movie. As the collection has grown the categories is becoming an increasing problem. Here we come with a solution !

Java 91.47% CSS 8.53%
feign guava guice javafx jupiter logback mssql mybatis open-source slf4j-api sql sqlserver

private-movie-collection's Introduction

Hi ๐Ÿ‘‹, I'm Tomas Sirotek

A passionate developer, student & crypto โ‚ฟ enthusiastic

tomasssimko

  • ๐Ÿ”ญ Completed Academy Profession degree in Multimeda Design

  • ๐Ÿ‘จโ€๐Ÿ’ป Computer Science student

  • โŒจ๏ธ Keyboard junkie

  • ๐Ÿ”ฅ Stuck in Vim

  • ๐ŸŒฑ Iโ€™m currently learning Java,SpringBoot,TS,Php,Laravel and going deep into Promting-learning in ChatGPT

Connect with me:

tomassirotek_ https://www.linkedin.com/in/tomas-sirotek/

Languages and Tools:

arduino aws azure bash bootstrap chartjs csharp css3 docker dotnet firebase git graphql heroku html5 javascript jenkins kubernetes linux materialize mongodb mssql mysql nextjs nodejs php postgresql postman python react sass sqlite typescript unity xd

GitHub Stats

Tomas's Stats
Tomas's github stats Tomas's GitHub Streak
Tomas's Stats A Random Developer Joke
Github Stats

A Random Developer Joke

private-movie-collection's People

Contributors

lordstacker avatar patrikvalentiny avatar tomassirotek avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

private-movie-collection's Issues

Question from curiosity

What if u want to call getAllMovies and they are not record inside the database ? What result we are getting ?
Because when u want to getAllMoviesByCategoryId u will get sql exception how that can happen ?

Empty Movie creation

I found that we can add movie without anything because front-end is storing initial value for rating and other so It will always be able to be inserted ... I will handle validation on the front end but can we look later into how we could maybe secure it also on the back end ? :)
Screenshot 2023-01-09 at 19 39 52

Not needed 2.0 ?

Screenshot 2023-01-10 at 18 21 57

Why do we have getById when that method only used to chain everything in the Dao ?
On the GUI we are not going to need It

  • if it is not used then anywhere state it as private since it will be only used by that class

It is located inside the MovieService ->

Not needed ?

Maybe when trying to search not on movie or category we could just not display sout ? :)

Screenshot 2023-01-16 at 12 18 38

Some ORM or tidy up MovieDAO ?

This is just note for later if we could look more (or I can) to tidy up the MovieDAO with the categories
Patrik dont get me wrong I love u spend so much time but just reading it makes me so confused for such a simple query that needs to map categories :)

But do not spend time on it now since we have more important stuff to do !

and why do I care to much just try to imagine the movie will have more aggregation ... or another nested stuff than can you imagine how f crazy our getAllMovies will get ? plus do you think when someone comes after you to watch this code they will be like yep that what I need to add here or modify

is this needed ?

The home button does nothing except fetching again all movies ? do we really need it there ?
since we are not planning to expand for another views then maybe we can just get rid of it :)

Screenshot 2023-01-13 at 12 32 43

Update of categories is not working maybe backend ?

Screenshot 2023-01-10 at 18 39 14

When movie is updated and different categories are selected and update is executed then It does not update all movie properties especially the categories ?

Also why are we updating the lastViewed/seen in update of the movie when we agreed on only updating the query when movie is played ?

Screenshot 2023-01-10 at 18 48 03

Is this really necessary ?

Screenshot 2023-01-10 at 18 17 13

Why are we deleting the CatMovie also ?
Is this necessary since we are having on delete cascade so that It wont leave anything behind when the movie is deleted ?

Its it located in MovieDAO starting 154 ?

Filter bug

When u search on all movies and then you will go to specific category and then you go back to movies it does not want to switch scenes ? Can we take a look at it ? :) branch -> setup/filter

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.