Before you begin, ensure you have the following installed:
- Node.js: Download Node.js
- npm: Comes with Node.js. To check if npm is installed, run:
npm -v
- TMDb API Key: Sign up and get your API key from TMDb.
- Clone the repository:
git clone https://github.com/oussamahdidou/Movies-Room-react-typescript.git
- Navigate to the project directory:
cd movies-room
- Run the following command to install the necessary packages:
npm install
- Create a .env file in the root directory of your project and add your TMDb API key:
REACT_APP_TMDB_API_KEY=your_tmdb_api_key_here
- To start the development server, run the following command:
npm start
- The application will run at http://localhost:3000. Open this URL in your browser to view the app.