Skip to content

AKASH-PRASAD7/FlexGallery

Repository files navigation

FlexGallery

FlexGallery is a responsive image gallery application built with Next.js that utilizes the Unsplash API. Users can search for images, star their favorite ones, and enjoy a smooth browsing experience. The application is enhanced with Tailwind CSS for styling and Redux Toolkit for state management.

Screenshots

1

2

Features

  • Search Functionality: Users can search for images using keywords.
  • Starr Images: Users can star their favorite images to save them for later viewing.
  • Responsive Design: The application is designed to work seamlessly across various devices and screen sizes.
  • Optimized Performance: FlexGallery is optimized for performance to ensure smooth browsing even with a large number of images.
  • Tailwind CSS: Utilizes Tailwind CSS for easy and efficient styling.
  • Redux Toolkit: State management is handled efficiently using Redux Toolkit, ensuring a predictable state container for the application.

Installation

To run FlexGallery locally, follow these steps:

  1. Clone the repository: git clone https://github.com/AKASH-PRASAD7/FlexGallery.git
  2. Navigate to the project directory: cd FlexGallery
  3. Install dependencies: npm install
  4. Obtain an API key from Unsplash by creating an account at https://unsplash.com/developers
  5. Create a .env.local file in the root directory of the project and add your Unsplash API key:
    NEXT_PUBLIC_UNSPLASH_ACCESS_KEY=your-access-key
    
  6. Start the development server: npm run dev
  7. Open your browser and visit http://localhost:3000 to view the application.

Usage

  • Upon launching the application, users are greeted with a search bar.
  • Enter keywords related to the images you wish to explore.
  • Scroll through the results and click on any image to view it in full size.
  • To favorite an image, click on the star icon associated with it.
  • Access your favorite images by clicking on the "Favorites" button located at the top of the page.

Technologies Used

  • Next.js: A React framework for building server-side rendered and static web applications.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development.
  • Redux Toolkit: A package that helps manage application state efficiently using Redux.
  • Unsplash API: Provides access to a vast collection of high-quality images for use in applications.

Credits

Releases

No releases published

Packages

No packages published