Giter Site home page Giter Site logo

movies-search's Introduction

Movies-Search

Movies App is a web application search for movies, used two services (Omdb, themoviesDB) and enabled user to check the movie details (rate, description, release date), watch movie trailer (YouTube service) and share trailer on social media channels.

  • Web Application that helps you to search for movie trailers
  • Cache result using HTTP cache
  • I Used an API of an online movie database (TheMovieDb, Omdb)
  • I Used an API of an online video service (YouTube)

Tools and Technology

  • .Net Framework 4.5.2
  • C#
  • MVC 5
  • Bootstrap.
  • JavaScript and JQuery
  • Visual Studio 2015
  • StructureMap

Expandability

- I create Factory Classes for Services and Services Configuration registered in IoC. If we need to add new service, just implement same interface and add it in factory, also for configuration class, if we need to upgrade or downgrade configuration or change key from testing to production, very easy to handle that.

Performance

  • Movies Search result are cached in memory, so very fast to retrieve for users.
  • Embedded Video loaded Ajax when user click on selected movie, so just one embedded in loaded in page.

Architecture:

  • Movies.Web

    ASP.net MVC web layer.
  • Movies.Repository

    Class Library, act as logic layer that communicate with services layer to fetch data. Repository communicate with services using interfaces registered in IoC.
  • Movies.Services

    Class Library, responsible for communicate with 3rd party API to get movies data and trailers, every service has configuration class to be easily to update or downgrade any service. And all configurations and service controlled by Factory classes.
  • Movies.Models

    Class Library for Services and Repository Models.
  • Movies.Contracts

    Class Library for all interfaces to be easily to use and register using any service.
  • Movies.Helpers

    Class Library for helper classes.
  • Movies.Tests

    Unit Testing, I used integration testing for services and repositories, I created real objects and connect to services directly to test real scenarios.

Questions and Contributions

  • If you found a bug or have a feature request, please report an issue or a pull request.
  • If you have a question, feel free to contact me ([email protected])

movies-search's People

Contributors

ahmedragheb avatar

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.