Skip to content

#Capstone-Project | It is an applications that consumes a cats API to render different types of cat breeds. It is developed using Reactjs 👉 https://catpetsapp.netlify.app

Notifications You must be signed in to change notification settings

kimanicharles911/cat_pets_app_w_react_and_tailwindcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat Pets App is an App/Site made with React and TailwindCSS

Netlify Status

Cat Pets App Cat Pets App Cat Pets App

Deployed at:

catpetsapp.netlify.com

src folder structure

src/
  assets/
    main.css
    tailwind.css
  components/
    AmericanComponent.jsx
    JavaneseComponent.jsx
    KhaoComponent.jsx
    MonthBreedComponent.jsx
    NavbarComponent.jsx
    PersianComponent.jsx
    RagaMuffinComponent.jsx
    ScottishComponent.jsx
    SingapuraComponent.jsx
    YorkComponent.jsx
  App.css
  App.js
  index.css
  index.js

Usage

Install dependencies

npm install
npm i json-server
npm i react-router-dom
npm i -D tailwindcss@latest postcss@latest autoprefixer@latest postcss-cli@latest
npx tailwind init tailwind.js --full
npm i @headlessui/react
npm i react-icons

Run React dev server

npm run start

Setup its routing for netlify deployment

Create a file in the root directory called _redirects
Copy this inside the_redirects file:
  # Redirect with a 301
  /*  /index.html   200
Add this line to the build script line in package.json
  && cp _redirects build/_redirects

To build for production

npm run build

How It Was Built

Create React App

npx create-react-app 

About

#Capstone-Project | It is an applications that consumes a cats API to render different types of cat breeds. It is developed using Reactjs 👉 https://catpetsapp.netlify.app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published