Discover movies to watch!
With filmClue 2.0, you can search for movies and check out their details. Each film page includes links to cast bio information, so you can learn all about your favorites. Built with the most excellent TMDB API.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need a TMDB account and an API Key. In the projects root folder, save a .env.local
file with API_KEY=##################
inside (the hashtags indicate where you need to put your own API key).
Easily set up a local development environment
npm install
npm run dev
On the landing page, you can choose a movie from the category carousel or use the search.
Scroll and select a movie that interests you to see the details modal window.
If you want more information, simply click the 'details' button to view the movie details page
Read the details about your selected movie on the movie page:
Infinite Scroll
NextJS
This is the first project where I have used onTouch events for mobile webapps. If you're new too, here are some notes that may assist you on your journey.
Useful resources: React Long Press Event
Found the isSerializable error a few times with this Nextjs project. A quick solution that worked for this use case was to add " || null" to return items in getStaticProps. Specifically for date format or number format objects.
For further reading on the subject see: