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

https://github.com/simandrew/tours-travel-reactjs


https://github.com/simandrew/tours-travel-reactjs

fetch-api reactjs useeffect-hook usestate-hook

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## Tours app

### About:
The Tours Project gets lists of tours from the API and displays them on the screen.

Features:
- Clicking on read more will display a detailed tour description.
- Remove a tour from the list of tours by pressing the button.
- After removing all tours from the list, click button to display all tours.

You can try here: [https://tours-travel-reactjs.netlify.app/](https://tours-travel-reactjs.netlify.app/)

### Sample task, photo:

![image](https://github.com/user-attachments/assets/539a1810-a270-4e6a-b91f-00c657004a4d)

### Technologies, Libraries:

- [React JS](https://react.dev/)
- [Vite JS](https://vitejs.dev/), [ESLint](https://eslint.org/), [Prettier](https://prettier.io/)
- [useState Hook](https://react.dev/reference/react/useState)
- [useEffect Hook](https://react.dev/reference/react/useEffect)

### Run the app:

- Clone a project: `git clone`

```
git clone https://github.com/SimAndrew/tours-travel-reactjs.git
```

- Open project code in your editor.
- Install the dependencies, enter into the terminal:

```
npm install
```

- Run the project, enter into the terminal:

```
npm run dev
```