Skip to content

A collection of React projects showcasing fundamental concepts, API integration, and stylish UI implementations, including weather and music player components.

Notifications You must be signed in to change notification settings

praball/APIs-with-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Projects Showcase

This repository showcases a collection of React projects developed to demonstrate various concepts, including the use of hooks, props, API integration, asynchronous requests, error handling, and styling.

Project Overview

  1. Basic Application of Hooks and Props:
    This project serves as a starting point to understand the fundamental concepts of React, including hooks and props. It demonstrates how to create functional components, manage state with hooks like useState and useEffect, and pass data between components using props.

  2. Weather API Project:
    In this project, I utilized the Visual Crossing weather API to create a weather application. By fetching weather data from the API based on user input, users can view current and forecasted weather conditions for a specific location. The project showcases how to make asynchronous requests using the fetch API and handle the received data to dynamically update the UI.

  3. Music Player Component:
    The Music Player Component integrates with the Spotify Developer API to enable users to search for tracks and play music directly from the application. It demonstrates the use of client ID authentication, asynchronous requests with axios and async/await functions, and error handling with try-catch blocks. Additionally, the component features a visually appealing UI created with React color templates.

Technologies Used:

  • React.js
  • Visual Crossing Weather API
  • Spotify Developer API
  • Axios
  • JavaScript (ES6+)
  • CSS (for styling)

How to Use:

  1. Clone the repository to your local machine.
  2. Navigate to the desired project directory.
  3. Install dependencies using npm install.
  4. Follow the instructions provided in each project's README to run the application locally.

Contributions:

Contributions to improve the projects or add new features are welcome. Feel free to submit a pull request with your changes.

License:

This project is licensed under the MIT License. Feel free to modify and distribute the code for personal or commercial use.

About

A collection of React projects showcasing fundamental concepts, API integration, and stylish UI implementations, including weather and music player components.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published