Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 870 Bytes

File metadata and controls

58 lines (39 loc) · 870 Bytes

Authentication & Authorization | Part 4

API URL

https://apis.ccbp.in/prime-deals

https://apis.ccbp.in/products

Exclusive Prime Deals Banner Image URL

https://assets.ccbp.in/frontend/react-js/exclusive-deals-banner-img.png

Credentials

Non Prime Users

Username: raja
password: raja@2021

Prime Users

Username: rahul
password: rahul@2021
Username: praneetha
password: praneetha@2021

Add these below statements in your code to import React Loader Spinner

import Loader from 'react-loader-spinner'

Add this Component in your code to use React Loader Spinner

<Loader type="ThreeDots" color="#00BFFF" height={50} width={50} />
  • Integrating APIs
    • Get Exclusive Prime Deals
  • API Call Possible Views
    • Handle Success View
    • Handle Failure View
    • Handle Loading View