Skip to content

star-wars - Urban Piper First round interview process - assignment. A searchbar that filters and lists your favourite star wars character as you type their names and on clicking, redirects to the profile page.

Notifications You must be signed in to change notification settings

arjun1237/star-wars

Repository files navigation

Star Wars Searchbar

A searchbar that filters and lists your favourite star wars character as you type their names and on clicking, redirects to the profile page.

Live Demo Link

CLICK HERE FOR LIVE DEMO

Visual Intructions on how to use it

image

Testing

The App was tested with Cypress. Several use cases was implemented and passed as per the conditions put forward.

image

Built With

  • React js
  • Styled Components

Optmization

  • Used Combination of throttling and debounce to reduce API calls made for each key stroke on the searchbar.
  • Currently trying to Memoize Person Page based on params, but approached few hurdles. If you are interested in doing so, please feel free to fork it and raise a PR once done.

Acknowledgments

  • Utilized prop drilling and basic concepts of react to build this application
  • Used SWABI API for all API calls

Getting Started

Just fork it and fell free to use it.

To get a local copy up and running follow these simple example steps.

Prerequisites

1 Install Node js in your local system 2 Code Editor 3 Browser (optional)

Install

After making a clone of this repo open your cmd/terminal and use

npm install (this will install all the dependencies )

Starting app

Once everything has been installed, go to root folder. In the terminal type:

npm start (this will open localhost and start the app)

Authors

👤 Arjun K Prasad

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About

star-wars - Urban Piper First round interview process - assignment. A searchbar that filters and lists your favourite star wars character as you type their names and on clicking, redirects to the profile page.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages