Code Monkey home page Code Monkey logo

orleansmovies's Introduction

Movies Microservice

Version: 1.0

Scenario

You are tasked with creating an API for an application that the company is building for a client. The application is a movies indexing application that will have high volumes of traffic and thus it needs to be fast, efficient and robust while being secure at the same time.

The application has the following functionality:

Features

  • Home
    • List top 5 highest rated movies [Done]
  • Movies List
    • List Movies [Done]
    • Search [Done]
    • Filter by Genre [Done]
  • Movie detail
    • Display selected movie detail information [Done]
  • Create Movie
    • Create a new movie that can be retrieved in the movies list [Done]
  • Update Movie
    • Update movies data. [Done]

Technologies required

You may use any 3rd party libraries which can facilitates your development.

Content

  • A complete working solution with GraphQL and Orleans pre-configured. You do not need to create the boilerplate code yourself
  • A movies.json with some mock data that can be used as your database (Although you might opt to use some other datasource)

Running the sample application

  • Make sure the startup project is set to Movies.Server
  • The project has one controller SampleDataController that has to requests:
  • There is also a Graph Query for the Application AppGraphQuery and one GraphType SampleDataGraphType
    • Accessible through: http://localhost:6600/api/graphql
    • Sample query:
      query sampleData($id: String!) {
          sample(id: $id) {
              id,
              name
          }
      }
      
  • All the endpoints call one simple Grain called SampleGrain that holds the data on the Orleans server

Helpful links

Extra Credit

  • Pre-loading data in memory on App Start-up so it can be retrieved faster (using the required technologies)
  • Use of good design patterns that avoid bottle necks
  • Add Unit tests
  • Rudimentary UI
  • Dockerized application

If you get the demo in good shape and have extra time, add your own flair and features.

Deliverable

  • Provide a working application
  • Provide source code in a public git such as github or Bitbucket repository
  • Provide markdown readme file
    • General information about the app
    • Provide steps how to build/launch your application

Good luck!

orleansmovies's People

Contributors

clayc90 avatar

Watchers

 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.