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

https://github.com/nightdevilpt/movie-hub


https://github.com/nightdevilpt/movie-hub

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

# [MovieHUB](https://movie-hub-git-main-nightdevilpt.vercel.app/)

## Description
In this web app you can search Movie, Tv Shows and Popular Person data. I used [TMDB API](https://www.themoviedb.org/) to get Movies,Tv shows and popular persons data.

In this web app you can watch video trailers.

1. you can create your own a Custome Theme color palates.
2. You can add Font Family by Adding Font Name and Font URL from [google fonts](https://fonts.google.com/).

If you save color palates and Font then this Fonts and Custome Theme Color Palates are available for all user because your color palates and Font saved in mongodb database.

### Packages Used

#### 1. Redux Toolkit ( Global Data / State Management )
#### 2. SCSS ( Styling Web Page )
#### 3. React-icons ( Icons )
#### 4. React lazy-load-image-component
#### 5. React Player ( for Playing youtube video )
#### 6. Axios ( for fetching data )
#### 7. Mongoose ( for database )

## MovieHUB Web App Images
![Screenshot from 2023-06-09 18-52-24](/public/thumbnails.png)
![Screenshot from 2023-06-09 18-52-24](/public/1.png)
![Screenshot from 2023-06-09 18-52-24](/public/2.png)
![Screenshot from 2023-06-09 18-52-24](/public/3.png)
![Screenshot from 2023-06-09 18-52-24](/public/4.png)
![Screenshot from 2023-06-09 18-52-24](/public/5.png)
![Screenshot from 2023-06-09 18-52-24](/public/6.png)
![Screenshot from 2023-06-09 18-52-24](/public/7.png)

## API

### [TMDB API](https://www.themoviedb.org/)

## Development

1. Install NextJS ```npx create-next-app@latest```
2. copy ```package.json``` file and paste in your project root folder.
3. now install all dependencies by using this command in command promt(windows) or terminal(linux) ```npm i```
4. start the development server ```npm run dev```

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.