Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aygunbyr/junior-frontend-developer-assignment


https://github.com/aygunbyr/junior-frontend-developer-assignment

Last synced: about 2 months ago
JSON representation

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
```