Code Monkey home page Code Monkey logo

popular-movie-quotes's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

popular-movie-quotes's Issues

Fixing the data set

Some of the objects in the data set have missing attributes like 'type'. Need to fix that.

add getSome(count) method

Implement a function which returns an array of quotes with given length.

  • console.log(movieQuote.getSome(10)); // get an array of 10 quotes.
  • console.log(movieQuote.getSomeRandom(10)); // get an array of 10 random quotes.

I will be making a pull request.

Add more movie quotes

Do you know any popular movie quotes?
Add your quote to data.json inside the data/ folder and raise the PR.
Language: Only English

{  
      "quote": "Your new Quote",
      "movie": "movie name",
      "type": "movie/anime/tv",
      "year": 2012
}

Note:

Please avoid the repetition of quotes.
Add your quotes in between. Don't add at the bottom or at the top.
Follow the template.
Do not make any changes in other files.
Add me(@NikhilNamal17 ) as reviewer.
Thanks!

No destinction between movie or tv quote

There is no property that defines if it is from a movie or TV show

Below are some items from the quotes currently
Proposed Types
tv, movie, anime,

  {
    "quote": "I used to think that my life was a tragedy. But now I realize, it’s a comedy.",
    "title": "Joker",
    "type": "movie",
    "year": 2019
  },
  {
    "quote": "Learn to embrace the fear of feeling about what it's like to contemplate what it is to know true pain. Because when I had nothing and no one - I always had pain.",
    "title": "Naruto Shippuden",
    "type": "anime",
    "year": null
  },

Add unit test to check if quotes have desired formats.

Add mocha unit tests to check if quotes have desired formats.

{  
      "quote": "String",
      "movie": "String",
      "type": "String",
      "year": Number
}

The test should check if the quote exists and is a type of String, same goes with each attribute with an associated data type.

Add tests to check duplicate quotes.

Add tests to check the data to be uniform when the functions are called as some have the year as a property and other quotes have in the title of the movie/show

For instance

{
    "quote": "words here for a quote",
    "title": "that movie we saw one time",
     "year": "1964",
}

Just asking

Hello, i just wanna know that are you still maintaining this repo by receiving some new quotes?

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.