-
Clone the repository to your local machine:
github.com/satyamkale27/DoggoFinder.git -
Navigate to the project directory:
cd DoggoFinder -
In your code, make sure to replace "Add your API key" with your actual API key. For example:
App.js const res = await fetch( `https://api.api-ninjas.com/v1/dogs?name=${query}`, { signal: controllers.signal, headers: { "X-Api-Key": "your-api-key", }, } ); -
get your API key from API Ninjas
-
Install the project dependencies:
npm install -
Start the development server:
npm start -
Open your browser and visit
http://localhost:3000to view the project.
That's it! You have successfully set up your project and added the API key. Happy coding!