Skip to content

hatrieudat/photo-gallery-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a Photo Gallery App with React

The goal of this project is to use the Flickr API to create a simple photo gallery:

  • Objectives: a search bar at the top, results displayed as a Mansory Layout and infinite scrolling; function to enlarge images, download images.
  • Technologies: FlickrAPI, Bootstrap 5, react-bootstrap, react-masonry-css, bootstrap-icons, React Router v6, React and some Hooks: useState, useEffect, useCallback, useContext, useReducer.

Demo: Photo Gallery App

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.