a-cat-a-dog-vue
A Vue App for showing cats ? and dogs ?.
How to use
Before running it
Before running it, you need to add a file secret.js
to
the directory /src/axios
. So, it would be /src/axios/secret.js
.
Then place following codes in it.
export const catKey = 'APPLY THE KEY ON https://thecatapi.com/'
export const dogKey = 'APPLY THE KEY ON https://thedogapi.com/'
For those 2 keys, you need to sign up in thecatapi.com and thedogapi.com.
Now run it
Now, enter following commands to run it :)
$ cd a-cat-a-dog-react
$ yarn install
$ yarn serve