Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aygunbyr/junior-frontend-developer-assignment
https://github.com/aygunbyr/junior-frontend-developer-assignment
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aygunbyr/junior-frontend-developer-assignment
- Owner: aygunbyr
- Created: 2023-09-09T17:47:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T14:11:42.000Z (over 1 year ago)
- Last Synced: 2023-09-14T00:58:25.535Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://junior-frontend-developer-assignment.vercel.app
- Size: 395 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Junior Frontend Developer Assignment
I have deployed this project on Vercel. Check out [Live Demo](https://junior-frontend-developer-assignment.vercel.app/)
I have developed this project for Junior Frontend Developer Assignment.
Apollo Client is used for fetching data from GraphQL API.
[Countries GraphQL API](https://countries.trevorblades.com/graphql) 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
```## Getting Started
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
```## Testing
Test using Jest
```
npm test
```Test using Jest with code coverage
```
npm run coverage
```