Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/soloalex1/book-search

A search field with debounced suggestions using Google Books API.
https://github.com/soloalex1/book-search

mobile-first react styled-components typescript vite vitest zustand

Last synced: about 2 months ago
JSON representation

A search field with debounced suggestions using Google Books API.

Awesome Lists containing this project

README

        



    Book Search



## Description

This project was made in a Mid-level Frontend Developer application on September 2023.

The goal was to implement and enhance a previously existing search component, by showing some dynamically-rendered suggestions before submitting the query string and apply local filters on data requested via Google Books API. In addition, I've improved the layout and adjusted home and search screen by applying mobile-first design approaches.

## Running

After cloning this repo, install the project dependencies:

```bash

yarn

```

Then, navigate to the project directory and run:

```bash

yarn dev

```

App will run on [http://localhost:5173/](http://localhost:5173/).

## Testing

By now, the only parts tested are the search field and filters. You can see the tests by running:

```bash

yarn test

```

## Tools used

- React
- TypeScript
- Styled Components
- Zustand
- Vitest
- React Testing Library