ShowLog is a web application for discovering and exploring movies and TV shows. This project is built with Next.js and utilizes several popular libraries to enhance the user experience.
- Next.js: A React framework for server-side rendering and static site generation.
- Tailwind CSS: A utility-first CSS framework for rapid UI development.
- React Player: A React component for playing videos.
- Framer Motion: A library for smooth and flexible animations.
- React Icons: A set of ready-to-use icons.
Ensure you have the following installed on your local environment:
- Node.js (version 16 or higher)
- npm (version 7 or higher) or yarn as a package manager
Follow the steps below to set up and run ShowLog on your local machine.
Clone the project repository to your local machine.
git clone https://github.com/mauroef/showlog-public.git
cd showlog
Install all necessary dependencies using npm or yarn.
npm install
# or
yarn install
Create a .env.local file in the root of the project and add the following environment variables:
TheMovieDB Variables (Mandatory)
NEXT_PUBLIC_TMDB_API_KEY=your_themoviedb_api_key
Google Analytics Variables (Optional)
NEXT_PUBLIC_GA_ID=your_google_analytics_id
Start the Next.js development server.
npm run dev
# or
yarn dev
To create an optimized production build:
npm run build
# or
yarn build
To run the application in production mode:
npm run start
# or
yarn start