I have deployed this project on Vercel. Check out Live Demo
I have developed this project for Junior Frontend Developer Assignment.
Apollo Client is used for fetching data from GraphQL API.
Countries GraphQL API is used in this project.
I wrote down tests using the React Testing Library, Jest and MockedProvider from Apollo Client.
You can search countries and group them using given format:
search:turk group:capital
Clone this repository
git clone https://github.com/aygunbyr/junior-frontend-developer-assignment.git
Install npm packages
npm install
Start the React application
npm start
Test using Jest
npm test
Test using Jest with code coverage
npm run coverage