Get, search for information about cat breeds. If you love cats, you got to the right place :)
In the cats wiki you can learn many things about all kinds of cats. You can search for cat breeds, see some daily top breeds and get amazed with lots of cute photos.
This is the frontend component of the cats wiki project. You can find the main backend here
Also consuming the public Cat API
To get a local copy up and running follow these simple example steps.
git clone git@github.com:mapra99/cats-wiki.git
cd
to the project's folder
cd cats-wiki
npm install --save-dev
.env
, and add the following
API_URL=http://localhost:3000
So far this is the only required environment variable. See the file .env.example
for further variables that trigger optional services if any. Also, check the next section to set up a local API to get started.
The application needs a local API to attend the requests from the React application.
You can either set up a local copy of the real backend or run a fake json api. For the former you can follow the setup instructions here, for the latter follow this:
npx json-server db.json --routes routes.json
Take a look at the API docs here.
Run a local development server by executing:
npm run start
You can also create a production build by running:
npm run build
And you will find the production builds at the dist/ folder
Miguel Prada
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a star if you like this project!
This project is MIT licensed.