NOTE: This make use of its own server to call to external api. The feeder server wouldn't work on codesandbox due to CORS, so it is preferred to use in localhost.
This is an example on how to start this image searching application which uses unsplash API to generate the images.
This is an example of how to list things you need to use the software and how to install them.
- pnpm
sudo npm install -g pnpm
Below is an example of how start the react application with your API Keys.
- Get a free API Key at https://unsplash.com/developers
- Clone the repo
git clone https://github.com/deEshu2002/image-search-app.git
- Setup front end
cd react-front && pnpm install
- Install NPM packages for backend
cd serve && npm install
- Create file inside serve folder
.env
and paste your api keys as followingPORT=4000; UNSPLASH_API_ACCESS_KEY="YOUR_API_KEY";
- now start the server
cd .. cd serve && pnpm run dev cd react-front && pnpm run dev