RoboFriends is a React application that dynamically populates and allows users to search through a list of robots displayed on individual card components. This README provides an overview of the application's structure and functionality.
- Introduction
- Screenshot
- Getting Started
- Features
- Code Structure
- Installation
- Usage
- Contributing
- License
RoboFriends is a simple and interactive web application that utilizes React to create a list of robot profiles. Users can search for specific robots by name, and the application dynamically filters the displayed robots based on the search query.
To run the RoboFriends application locally, follow these steps:
- Clone this repository to your local machine.
- Open your terminal and navigate to the project directory.
- Run
npm install
to install the necessary dependencies. - Run
npm start
to start the development server. - Open your web browser and go to http://localhost:3000 to access the application.
RoboFriends offers the following features:
- Displays a list of robot profiles as individual card components.
- Allows users to search for robots by name, dynamically updating the card display.
- Provides a loading screen while fetching robot data from a remote server.
The application is structured into components as follows:
App.js
: The main component that manages the redux store and renders the Main Page.Card.js
: Displays an individual robot profile as a card component.CardList.js
: Displays a list of robot cards.ErrorBoundary.js
: Wraps the card list, catching any errors that occur during rendering.Header.js
: Displays the application header.MainPage.js
: Displays the main page of the application, including the header, search box, and card list.SearchBox.js
: Provides a search input box for users to enter their search queries.Scroll.js
: Wraps the card list, enabling smooth scrolling.
To install and run the RoboFriends application, follow the Getting Started instructions.
Once the application is running locally, you can perform the following actions:
- Enter a robot name in the search box to filter the displayed robots.
- Scroll through the list of robot cards to view their profiles.
Contributions to the RoboFriends project are welcome. If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your fork.
- Create a pull request to the original repository's
main
branch.
This project is licensed under the MIT License
Enjoy using RoboFriends to explore and search through a delightful array of robot profiles! If you have any questions or need assistance, feel free to reach out to Devin, the developer of this application.