This is a basic project that search for a user on github and then returns a few of the user data and it's repositories's names and descriptions.
Clone or download the repo
yarn
to install dependenciesyarn dev
to run the project in development mode
git commit
since this repo uses husky and cli commitlint, a frindly cli will appear to help you commit a clear message
After installing the dependencies (yarn install
)
yarn test
to run all unit and integration tests
yarn dev
to run the project in development modeyarn cy:open
to run tests in Launchpad mode- Choose a testing type
- Launch a browser
yarn cy:test
to run tests in CLI mode
- In CLI mode, run:
yarn cy:run
a new report will be generated after running the tests. - Access the file at: cypress/reports/html/index.html
- Open this file in the browser
The github api is public and it has a limit of 60 request for a unauthenticated user