GithubHelp home page GithubHelp logo

project-express-api's Introduction

Express API Project

This project was an introduction to backend and was about creating our own APIs using Express.

The problem

I chose data already given about Netflix movies and TV-shows. Then I started with the routes and naming the data as a pluralized route, titles in this case. Then I added different endpoints such as id, year where I used path parameters and then I used query parameter for searching based on whether it is a movie or a TV-show. Filter method was used to get a collection of data based on year and type and find method was used to get a specific TV show/movie based on its unique ID. If I had more time I would have added more endpoints and sorted on more criteria and would have tried to add frontend as well. Express, Node.js, Babel dependencies were used in this project.

Endpoints

• Root: /

• titles: /titles (This gives data about all the TV-shows and movies of Netflix)

• type: /titles?type=(Choose Movie or TV Show as the type to get only data about all the movies or all the TV Shows)

• year: titles/year (Choose year to only get movies/TV Shows for a specific year)

• id: titles/id (Choose id to get a specific TV show/Movie)

View it live

https://netflix-api-jessica.herokuapp.com/

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.