Follow these steps to get the project up and running on your local machine.
-
Node.js version 18.x or higher is required.
-
Yarn should be installed. You can install it globally using the following command:
npm install -g yarn
Clone this repository to your local machine or download and extract the ZIP file.
git clone https://github.com/sergio222-dev/imgur-gallery-challenge.git
Navigate to the project directory:
cd imgur-gallery-challenge
Rename the file .env.example
to .env.local
and replace the value of NEXT_PUBLIC_IMGUR_CLIENT_ID
with an appropriate one
Install dependencies using Yarn:
yarn install
After installing the dependencies, you can start the development server with the following command:
yarn start
Open your web browser and visit http://localhost:3000 to see the project in action.