GithubHelp home page GithubHelp logo

nodejs's Introduction

NODEJS Movies/Comments Test

The requested API's are implemented some with sorting/filtering as requested: They are allocated in heroku server so if interested in calling them just call them with the provided arguments

Example of requests:

http://moviesnodejs.herokuapp.com/movies?year=1996

http://moviesnodejs.herokuapp.com/movies?sortby=year

Basically it supports sorts the information either by year or genre. It also can fetch all the movies that belong to a certain genre or year.

  • http://moviesnodejs.herokuapp.com/movies - POST - The API connects with the http://www.omdbapi.com/ server to extract data(I chose to extract Genre and Year, since it was not specified although a lot more could be chosen) using the title of the name provided and stores the information in the database. Also returns the objected caught by the omdbapi API as requested

Example:

http://moviesnodejs.herokuapp.com/movies

{

"movietitle":"Finding Nemo"

}

Example:

http://moviesnodejs.herokuapp.com/comments

http://moviesnodejs.herokuapp.com/comments?movieid=13

Example http://moviesnodejs.herokuapp.com/comments

{

"movieid": "20",

"comment": "Very nice"

}

While I tried to implement Angular 6.0 interface, Heroku proved to be a bit hard to deal with, therefore lack of time, which did not allow to make a functional demo of the frontend part

nodejs's People

Contributors

nunks500 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.