Code Monkey home page Code Monkey logo

honestmoviereviewapi's Introduction

HonestMovieReview Api

Build Status

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

    2.3.1

  • Rails version

    5.0.4

  • Database creation

    rake db:create

    rake db:migrate

    rake db:schema:load

  • Database initialization

    rake db:seed

  • How to run the test suite

    rspec filepath

  • API End points

    1.Get a list of movies - API call with JSON response

    http://localhost:3000/api/v1/movies
    

    2.Get particular movie - API call with JSON response

    http://localhost:3000/api/v1/movies/1
    

    3.Get particular movie all reviews - API call JSON with response

    http://localhost:3000/api/v1/movies/1/reviews
    

    4.Get particular movie particular review - API call JSON with response

    http://localhost:3000/api/v1/movies/1/reviews/1
    

    5.Get average rating for any movie - API call with JSON response

    http://localhost:3000/api/v1/movies/1/reviews/average
    

    6.Movies highest rating

    http://localhost:3000/api/v1/movies/highestrating
    
  • Rspec API and model testing

    rspec spec/requests/api/v1/movies_spec.rb

    rspec spec/requests/api/v1/reviews_spec.rb

    rspec spec/requests/movies_spec.rb

    rspec spec/request/reviews_spec.rb

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.