In the project directory, you can run after installing node modules using npm install
and then start project using:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
-
Started with the CRA(TS template)
-
Configured RTK with redux-persist
-
Added basic structure for UI i.e. dropdown and input
-
Added axios to fetch result for repos and users
-
Then UI for repos and users
-
Some if's for repos/users to fetch result based on Entity type
-
Add debounce (calls only if the user has typed 3 char)
-
Clearing inputs etc will result on empty screen
-
Added minor responsiveness as were required
These are some of the things were required but didn't tried it due to personal commitments and time limitations:
-
Didn't used routes
-
UI was required to move, once user search something
-
Didn't cover most of loading, error boundries etc
-
Naming variable isn't at its best, as well as refactoring
-
Ignored TS at few places to speed up stuff