Image Search is a responsive web application where the user can search, bookmark and download hundreds of high definition images.
The following instructions will help you to get a copy of the project up and running on your local machine for development and testing purposes.
- Make sure you created an account at Unsplash. The API provides 50 free api calls/hour.
- After signing up, you will receive an access key which is required in this project.
- To clone this repository, you need to have GIT installed on your local machine.
- Paste the following on the command line:
$ git clone https://github.com/sammy9867/image-search.git
- After you have cloned the repository, switch to the directory containing the repository and install the dependencies using npm.
$ npm install
- Create a .env file and add the following. Enter your own access key.
REACT_APP_BASE_URL=https://api.unsplash.com/search/photos
REACT_APP_CLIENT_ID=YOUR_ACCESS_KEY
- Finally, use the following command to the run the application:
$ npm start
- React Hooks
- Context API
- React-Axios
- React-Router
All pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Samuel Menezes