github-user-search Tailwind Templates

Github User Search

Consuming a GitHub API to get user profile data

GitHub User Search

In this project I used the GitHub API to get the user profile data.

View deployment: github-user-search

Tech Stack

  • React
  • Tailwind.css

What I Learned/practice?

  • Styling components with tailwind
  • Using tailwind grid for cards
  • Fetch and consume API
  • UseState and useEffect
  • Displaying reactive data on user cards
  • Use handle key press event with React
  • Test with Cypress
  • Deploy React app with gh-pages

    Run Locally

Clone the project

  git clone https://github.com/corderodev/github-user-search.git

Go to the project directory

  cd github-user-search

Install dependencies

  npm install

Start the server

  npm run start

Running Tests

To run tests, run the following command

  npm run cypress:open

Deployment

To deploy this project first run

  npm run predeploy

and then run the following

  npm run deploy

Feedback

If you have any feedback, please write me at dnlambb@writeme.com

License

MIT

Authors

Top categories

Loading Svelte Themes