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

https://github.com/abdelrahman-mh/rest-countries

Countries interface builds with: Vite, React, Typescript, Tanstack Qeury and Router, and Chakra UI
https://github.com/abdelrahman-mh/rest-countries

chakra-ui react react-query responsive-design tanstack-query tanstack-router theme-modes tyepsc vite

Last synced: 8 months ago
JSON representation

Countries interface builds with: Vite, React, Typescript, Tanstack Qeury and Router, and Chakra UI

Awesome Lists containing this project

README

          

# REST-API Countries Interface

Builds with: [Vite](https://vitejs.dev/), [React](https://react.dev/), [Typescript](https://www.typescriptlang.org/), [Tanstack Query](https://tanstack.com/query/latest), [Tanstack Router](https://tanstack.com/router/latest), and [Chakra UI](https://v2.chakra-ui.com/)

[Live Demo](https://abdelrahman-mh.github.io/rest-countries/)

## Development

- Clone the repo and navigate the project directory:

```bash
git clone https://github.com/abdelrahman-mh/rest-countries
cd rest-countries
```

- Install Dependencies:

```bash
# you can use also pnpm as you need
npm install
```

- Run dev server:

```bash
npm run dev
```

Now open http://localhost:5173/ in you browser

### ToDos 📝

- [ ] Add scroll to top button
- [ ] E2E tests with [Cypress](https://www.cypress.io/)
- [ ] Add custom theme for buttons and inputs, for more lees code in components

### Home page

![home page](./docs/home.png)

### Home Page Dark Mode

![home page](./docs/home-dark.png)

### Country Search

![home page](./docs/search.png)

### Country Details

![home page](./docs/country-details.png)