This is a simple movie library application built with React and Bootstrap.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Node.js and npm.
To install Movie Library, follow these steps:
-
Clone the repository:
git clone https://github.com/Niraj2003/movie-library-frontend.git
-
Navigate into the project directory:
cd movielibrary
-
Install the dependencies:
npm install
-
Set Environment Variables:
Create a
.env
file in the root directory of the project and define the following variables:REACT_APP_BACKEND_URL=<backend-url> REACT_APP_OMDB_API=<omdb-api-key>
Replace
<backend-url>
with the URL of the backend server and<omdb-api-key>
with your OMDB API key.
To use Movie Library, follow these steps:
-
Start the development server:
npm start
-
Open your web browser and visit http://localhost:3000.