Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ธ React Gallery App

๐Ÿš€ A Modern & Responsive Image Gallery built with React.js, Axios & Tailwind CSS

Browse stunning high-quality images using the Lorem Picsum API with a clean, responsive, and interactive user interface.


React Vite Tailwind CSS Axios License


โœจ Features

  • ๐Ÿ“ท Fetches images dynamically from the Lorem Picsum API
  • โšก Fast API requests using Axios
  • ๐Ÿ“ฑ Fully Responsive Design
  • ๐ŸŽจ Modern UI with Tailwind CSS
  • ๐Ÿ–ผ๏ธ Beautiful Image Cards
  • โœจ Smooth Hover Animations
  • ๐Ÿ“„ Pagination Support
  • โณ Loading State
  • ๐Ÿ”— Open Original Image in New Tab
  • ๐Ÿš€ Built with React Hooks

๐Ÿ›  Tech Stack

Technology Purpose
React.js Frontend Library
Vite Build Tool
Tailwind CSS Styling
Axios API Requests
Lorem Picsum API Image Source

๐Ÿ“‚ Folder Structure

React-Gallery-App
โ”‚
โ”œโ”€โ”€ public
โ”‚   โ””โ”€โ”€ images
โ”‚
โ”œโ”€โ”€ src
โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”œโ”€โ”€ main.jsx
โ”‚   โ””โ”€โ”€ index.css
โ”‚
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ vite.config.js
โ””โ”€โ”€ README.md

๐Ÿš€ Installation

Clone the repository

git clone https://github.com/Priyanshu-Gurjar20/react-gallery-app.git

Go to project directory

cd react-gallery-app

Install dependencies

npm install

Start Development Server

npm run dev

๐Ÿ“ธ Screenshots

Add screenshots of your project here.

Example:

screenshots/
โ”‚
โ”œโ”€โ”€ home.png
โ”œโ”€โ”€ gallery.png

After uploading screenshots, display them like this:

![Home](screenshots/home.png)

๐ŸŒ API Used

Lorem Picsum API

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

๐Ÿ“š React Concepts Covered

  • Functional Components
  • JSX
  • useState
  • useEffect
  • API Fetching
  • Axios
  • Async / Await
  • Conditional Rendering
  • Event Handling
  • List Rendering using map()
  • Pagination
  • Responsive Design
  • Tailwind CSS

๐Ÿ’ก What I Learned

During this project I learned how to:

  • Consume REST APIs in React
  • Manage state with useState
  • Handle side effects with useEffect
  • Render dynamic data
  • Create reusable UI
  • Build responsive layouts using Tailwind CSS
  • Improve UI using hover animations and transitions

๐Ÿ”ฎ Future Improvements

  • ๐Ÿ” Search Images
  • โค๏ธ Favorite Images
  • ๐ŸŒ™ Dark / Light Mode
  • ๐Ÿ“ฅ Download Button
  • ๐Ÿ” Full Screen Image Preview
  • โ™พ Infinite Scrolling
  • ๐Ÿ“‚ Image Categories

๐Ÿค Contributing

Contributions are welcome.

If you'd like to improve this project, feel free to fork the repository and submit a Pull Request.


๐Ÿ‘จโ€๐Ÿ’ป Author

Priyanshu Gurjar


โญ If you like this project, don't forget to Star the repository.

Made with โค๏ธ using React.js

About

๐Ÿ“Œ Description : A modern and responsive React Image Gallery built with React.js, Tailwind CSS, Axios, and the Lorem Picsum API.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages