Giter Site home page Giter Site logo

pursuit-core-web-express-passing-data-lab's Introduction

Pursuit-Core-Web-Express-Passing-Data-Lab

Build a server that has endpoints for both images from Pixabay, and gifs from giphy. Additionally, build out a simple front end that you can use to query the backend and display the results.

Backend

Endpoints

Sign up for free accounts at the following websites:

Build a server that has two routes:

/gifs

Sample query:

localhost:3000/gif/?search=spongebob

Your response should look like the following:

[
  "https://giphy.com/gifs/spongebob-meme-imma-head-out-ight-PkLPBuyozY7F31wCxF",
  "https://giphy.com/gifs/embarrassed-spongebob-squarepants-njPdRtrrdyoVO",
  ...
]
  • Use the Giphy API to do your GIF search.
  • Parse through their results.

/images

sample query:

localhost:3000/images/?search=javascript

Your response should look like the following:

[
  "https://pixabay.com/get/35bbf209e13e39d2_640.jpg",
  ...
]
  • Use the Pixabay API to do your image search.
  • Parse through their results.

Fontend

Build a simple frontend to access your backend. It should consist of:

  • An input for entering the search term
  • A button for "Gif search"
  • A button for "Image search"

Tapping a button should load either gifs or images in a div below the search bar.

pursuit-core-web-express-passing-data-lab's People

Contributors

vonbarown avatar benstone1 avatar

Watchers

James Cloos 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.