Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thenaubit/example-react-tmdb-api

🎉 A little example / portfolio using React.js, Typescript, React Query, Chakra... to display in a beautiful way the top movies and series from the TMDB API
https://github.com/thenaubit/example-react-tmdb-api

chakra-ui react react-router react-router-v6 reactjs reactquery tmdb-api typescript

Last synced: 29 days ago
JSON representation

🎉 A little example / portfolio using React.js, Typescript, React Query, Chakra... to display in a beautiful way the top movies and series from the TMDB API

Awesome Lists containing this project

README

        

# 🎉 Wonder Film!
A little example / portfolio using React.js, Typescript, React Query, Chakra... to display in a beautiful way the top movies and series from the TMDB API.

![](https://github.com/NauCode/example-react-tmdb-api/blob/c4a5276c439569f643449c73c3a9f56d75cbc12c/demo-page.png?raw=true)

## Live Demo
You can check this project deployed here: [https://wonderapi.nauverse.com/](https://wonderapi.nauverse.com/)

## Stack Used
- React.js
- Typescript
- React Router v6
- Chakra UI
- Framer Motion
- React Query (with infinite pagination!)
- And much more! 🚀

## How to install and run by yourself?
- Clone this repo in your computer and inside the root folder of this project, install the libraries (you can use ```npm i```, ```yarn``` or even ```pnpm i```)
- Once the libraries are installed, you need to create a ```.env``` file in the root folder of the project with a var called ```VITE_TMDB_API_KEY``` and it must have the value of your TMDB API key (if you don't have one, you can check how to get one [here](https://developers.themoviedb.org/3/getting-started))
- Now, launch the project with ```npm run dev```, ```yarn dev``` or ```pnpm run dev```
- That's it!