Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

React Image Gallery

A simple image gallery built with React that fetches random images from the Picsum Photos API using Axios.

Features

  • Fetches images from the Picsum Photos API
  • Displays images in a responsive gallery
  • Uses React functional components and Hooks
  • API requests handled with Axios
  • Easy to extend with pagination or infinite scrolling

Tech Stack

  • React
  • JavaScript (ES6+)
  • Axios
  • CSS

Installation

  1. Clone the repository:
git clone <your-repository-url>
  1. Navigate to the project folder:
cd <project-folder>
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

or, if using Create React App:

npm start

API Used

This project uses the Picsum Photos API to fetch image data.

Example endpoint:

https://picsum.photos/v2/list?page=1&limit=30

Project Structure

src/
├── components/
│   └── Card.jsx
├── App.jsx
├── main.jsx
└── index.css

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors