Movie Library is a MERN stack project designed for effortless movie searches using the OMDb API. With Movie Library, you can create and curate your own movie lists seamlessly.
Navigate to the frontend directory and install the required Node.js modules:
cd frontend
npm install
Run the frontend project:
npm run dev
Navigate to the server directory:
cd server
Install the necessary Node.js modules:
npm install
Create a .env
file inside the server directory. Specify the following environment variables:
PORT=4500
MONGO_URL="mongodb://127.0.0.1:27017/movielibrary"
Note: You can change PORT number and MONGO_URL database name.
Start the server:
npm run start