Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/devanshbajaj/tmdb-website

Top rated movies showcase with infinite scroll in React using Tmdb API
https://github.com/devanshbajaj/tmdb-website

infinite-scroll lazy-loading react reactjs styled-components tmdb-api

Last synced: about 5 hours ago
JSON representation

Top rated movies showcase with infinite scroll in React using Tmdb API

Awesome Lists containing this project

README

        

# Tmdb Movies Showcase

### A custom infinite scroll implementation for movies showcase website made with React to try Intersection observer API with the help of [TMDB API](https://www.themoviedb.org/documentation/api).

## [Live Preview](https://toprated-tmdb.netlify.app/)

[![Netlify Status](https://api.netlify.com/api/v1/badges/ac1bf5aa-0037-46bc-bbc3-99165fe89224/deploy-status)](https://app.netlify.com/sites/toprated-tmdb/deploys)

## Tech Stack

### Libraries
- [React](https://reactjs.org/)
- [Intersection Observer API](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) is used for infinite scrolling.
- [Styled Components](https://styled-components.com/) is used to style the UI
- [Axios](https://axios-http.com/) is used to make HTTP request to API
- [Emotion CSS](https://emotion.sh/docs/introduction) is used to style the loader/react-spinner
- [TMDB API](https://www.themoviedb.org/documentation/api)

### Other Components/Libraries
- [HeroIcons](https://github.com/tailwindlabs/heroicons)
- [React Spinners](https://github.com/davidhu2000/react-spinners)
- [Lazy Load Component](https://github.com/Aljullu/react-lazy-load-image-component)

### Build Tool
[Vite JS](https://vitejs.dev/) is used for tooling as CRA replacement

## Run Locally
```sh
git clone [email protected]:DevanshBajaj/Tmdb-website.git

yarn

yarn dev
```

## To-Do/Future Scope
- To add Movie Details Page

# License

```
MIT License

Copyright (c) 2021 Devansh Bajaj

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```