This project is a simple React application that demonstrates the use of Redux for state management, along with TypeScript for type safety.
- Search for repositories on GitHub.
- Display loading state while fetching data.
- Display error message if search fails.
- Display list of repository names on successful search.
- React
- Redux
- TypeScript
To get a local copy up and running follow these simple steps.
Make sure you have Node.js and npm installed.
- Clone the repo
git clone https://github.com/your_username_/Project-Name.git
- Install NPM packages
npm install
- Start the development server
npm start
- Enter a search term in the input field and click the "Search" button.
- The app will fetch repositories from GitHub matching the search term.
- The list of repository names will be displayed below the search form.
The project follows a standard Redux pattern for state management:
- Actions: Defined in src/state/action-creators.
- Reducers: Defined in src/state/reducers.
- Store: Configured in src/state/store.
- Redux Hooks: Used in components for accessing and dispatching actions.